projects
/
mesa.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Added few more stubs so that control reaches to DestroyDevice().
[mesa.git]
/
src
/
glx
/
glxconfig.c
diff --git
a/src/glx/glxconfig.c
b/src/glx/glxconfig.c
index 87a02fa9b6bc8f75be9bd58388a349cc40330c27..6c4267c8f3952cdf454223b36b141635ca2f889b 100644
(file)
--- a/
src/glx/glxconfig.c
+++ b/
src/glx/glxconfig.c
@@
-59,7
+59,7
@@
glx_config_get(struct glx_config * mode, int attribute, int *value_return)
*value_return = mode->rgbBits;
return 0;
case GLX_RGBA:
- *value_return =
mode->rgbMode
;
+ *value_return =
!(mode->renderType & GLX_COLOR_INDEX_BIT)
;
return 0;
case GLX_RED_SIZE:
*value_return = mode->redBits;