projects
/
miniglut
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7ce1c3d
)
lowered the acceptable zbuffer bits to unacceptable levels
author
John Tsiombikas
<nuclear@member.fsf.org>
Tue, 23 Aug 2022 11:22:24 +0000
(14:22 +0300)
committer
John Tsiombikas
<nuclear@member.fsf.org>
Tue, 23 Aug 2022 11:22:24 +0000
(14:22 +0300)
miniglut.c
patch
|
blob
|
history
diff --git
a/miniglut.c
b/miniglut.c
index
eea3d20
..
6856369
100644
(file)
--- a/
miniglut.c
+++ b/
miniglut.c
@@
-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;