lowered the acceptable zbuffer bits to unacceptable levels
authorJohn Tsiombikas <nuclear@member.fsf.org>
Tue, 23 Aug 2022 11:22:24 +0000 (14:22 +0300)
committerJohn Tsiombikas <nuclear@member.fsf.org>
Tue, 23 Aug 2022 11:22:24 +0000 (14:22 +0300)
miniglut.c

index eea3d20..6856369 100644 (file)
@@ -856,7 +856,7 @@ static XVisualInfo *choose_visual(unsigned int mode)
        }
        if(mode & GLUT_DEPTH) {
                *aptr++ = GLX_DEPTH_SIZE;
-               *aptr++ = 16;
+               *aptr++ = 8;
        }
        if(mode & GLUT_STENCIL) {
                *aptr++ = GLX_STENCIL_SIZE;