diff options
author | Brian Paul <[email protected]> | 2008-12-10 18:11:31 -0700 |
---|---|---|
committer | Brian Paul <[email protected]> | 2008-12-10 18:11:31 -0700 |
commit | 0c31661e73dd2979df22a275452efc71c7064f81 (patch) | |
tree | 8f6347c716219b513c56d827d88f461fa62da0a6 /src/gallium/winsys | |
parent | b716de47798defa7d22b0f15b201af6fba27f0b9 (diff) | |
parent | d0bc5293d6e1e9c34fa822b7c2928932ed22462c (diff) |
Merge commit 'origin/gallium-0.1' into gallium-0.2
Diffstat (limited to 'src/gallium/winsys')
-rw-r--r-- | src/gallium/winsys/xlib/fakeglx.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gallium/winsys/xlib/fakeglx.c b/src/gallium/winsys/xlib/fakeglx.c index 2c0075e9345..a56e63572a7 100644 --- a/src/gallium/winsys/xlib/fakeglx.c +++ b/src/gallium/winsys/xlib/fakeglx.c @@ -419,7 +419,7 @@ static XMesaVisual create_glx_visual( Display *dpy, XVisualInfo *visinfo ) { int vislevel; - GLint zBits = 24; /*default_depth_bits();*/ + GLint zBits = default_depth_bits(); GLint accBits = default_accum_bits(); GLboolean alphaFlag = default_alpha_bits() > 0; @@ -1289,7 +1289,7 @@ choose_visual( Display *dpy, int screen, const int *list, GLboolean fbConfig ) double_flag = GL_TRUE; if (vis->depth > 8) rgb_flag = GL_TRUE; - depth_size = 24; /*default_depth_bits();*/ + depth_size = default_depth_bits(); stencil_size = STENCIL_BITS; /* XXX accum??? */ } |