diff options
author | Brian Paul <brian.paul@tungstengraphics.com> | 2008-12-10 18:00:36 -0700 |
---|---|---|
committer | Brian Paul <brian.paul@tungstengraphics.com> | 2008-12-10 18:06:30 -0700 |
commit | 99b862cd77fb088d0b2e62c6c15ecef82ec4fb80 (patch) | |
tree | b5441dc77811760b9b374c6ceaa5812e0b1f8f17 /src/gallium/winsys | |
parent | e1645313be9be2493311780a2f66361601903559 (diff) |
gallium: restore default_depth_bits() call in xlib winsys
This was accidentally disabled in a long-ago commit.
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 2c0075e934..a56e63572a 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??? */ } |