diff options
author | Brian Paul <brianp@vmware.com> | 2009-10-01 13:35:42 -0600 |
---|---|---|
committer | Brian Paul <brianp@vmware.com> | 2009-10-01 13:35:42 -0600 |
commit | 5d2413fca4c252ec5c7880fa7f983b5df3d762ba (patch) | |
tree | 28d9fb9fc5724b65579f06fc9258461f9c7fc47f /src/gallium/state_trackers | |
parent | 15c57648cd87d344777e3aafa79a9be970b83979 (diff) | |
parent | 18883cdf2334511005973155fc517eb678dc0043 (diff) |
Merge branch 'mesa_7_6_branch'
Diffstat (limited to 'src/gallium/state_trackers')
-rw-r--r-- | src/gallium/state_trackers/glx/xlib/glx_api.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/gallium/state_trackers/glx/xlib/glx_api.c b/src/gallium/state_trackers/glx/xlib/glx_api.c index d1a98f8991..65012e9253 100644 --- a/src/gallium/state_trackers/glx/xlib/glx_api.c +++ b/src/gallium/state_trackers/glx/xlib/glx_api.c @@ -1538,9 +1538,9 @@ get_config( XMesaVisual xmvis, int attrib, int *value, GLboolean fbconfig ) if (!fbconfig) return GLX_BAD_ATTRIBUTE; if (xmvis->mesa_visual.rgbMode) - *value = GLX_RGBA_BIT; + *value = GLX_RGBA_TYPE; else - *value = GLX_COLOR_INDEX_BIT; + *value = GLX_COLOR_INDEX_TYPE; break; case GLX_X_RENDERABLE_SGIX: if (!fbconfig) @@ -2120,9 +2120,9 @@ glXQueryContext( Display *dpy, GLXContext ctx, int attribute, int *value ) break; case GLX_RENDER_TYPE: if (xmctx->xm_visual->mesa_visual.rgbMode) - *value = GLX_RGBA_BIT; + *value = GLX_RGBA_TYPE; else - *value = GLX_COLOR_INDEX_BIT; + *value = GLX_COLOR_INDEX_TYPE; break; case GLX_SCREEN: *value = 0; |