projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3890212
)
gallium/xlib: return GLX_RGBA_BIT or GLX_COLOR_INDEX_BIT in get_config()
author
Brian Paul
<brianp@vmware.com>
Fri, 2 Oct 2009 13:47:49 +0000
(07:47 -0600)
committer
Brian Paul
<brianp@vmware.com>
Fri, 2 Oct 2009 13:47:49 +0000
(07:47 -0600)
This reverts part of commit
a6b84aef4ad3a7bac40704146a98977c62bfb6e8
src/gallium/state_trackers/glx/xlib/glx_api.c
patch
|
blob
|
history
diff --git
a/src/gallium/state_trackers/glx/xlib/glx_api.c
b/src/gallium/state_trackers/glx/xlib/glx_api.c
index 65012e92538842f76fb5f3fad7c19849948ea8af..7f04db2186e6d3035e782e558225525a3c1ff7e4 100644
(file)
--- 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_
TYPE
;
+ *value = GLX_RGBA_
BIT
;
else
- *value = GLX_COLOR_INDEX_
TYPE
;
+ *value = GLX_COLOR_INDEX_
BIT
;
break;
case GLX_X_RENDERABLE_SGIX:
if (!fbconfig)