From: Brian P. <br...@va...> - 2001-02-24 21:47:40
|
German Gomez Garcia wrote: > > On Sat, 24 Feb 2001 14:51:24 -0700 Brian Paul <br...@va...> wrote: > > > German Gomez Garcia wrote: > > > > > > On Sat, 24 Feb 2001 14:36:21 -0700 Brian Paul <br...@va...> wrote: > > > > > > > German Gomez Garcia wrote: > > > > > > > > > > Hello again, > > > > > > > > > > After downloading latest MesaLib and MesaDemos 3.4.1 and recompile > > > > > the libglut and specially, reading through the sample code, I've found that > > > > > I need to enable the GLUT_DEPTH buffer to make it work with GLUT_DOUBLE. > > > > > > > > There's no reason for that. Double buffering and the depth buffer have > > > > nothing to do with each other. > > > > > > In that case, what is wrong with the attached program? Sorry if it > > > is too trival, but I'm a bit puzzled and as I've already said, I'm starting > > > with OpenGL (two hours ago). > > > > > > > Chances are you were trying to use depth testing (i.e. glEnable(GL_DEPTH_TEST)) > > > > without a depth buffer. > > > > > > I don't enable it consciously, maybe some of the glut* functions do > > > it. I don't know. > > > > > > Your program works fine for me. > > Are you using DRI ?, it works fine using software Mesa for me too, > so maybe it's related to DRI. When using DRI nothing is drawn, just a black > window. > > I'm using CVS (five days old) with MGA and kernel 2.4.2-ac3. > Running at 1600x1200x32bpp (Matrox G400MAX). Any idea? I just tested it with the MGA driver (current CVS) and software Mesa. Both were fine. -Brian |