projects
/
profile
/
ivi
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ef9cd84
)
mesa/xlib: fix GLX_RENDER_TYPE query
author
Brian Paul
<brianp@vmware.com>
Tue, 29 Sep 2009 18:16:12 +0000
(12:16 -0600)
committer
Brian Paul
<brianp@vmware.com>
Tue, 29 Sep 2009 18:16:20 +0000
(12:16 -0600)
Return GLX_RGBA_TYPE or GLX_COLOR_INDEX_TYPE.
src/mesa/drivers/x11/fakeglx.c
patch
|
blob
|
history
diff --git
a/src/mesa/drivers/x11/fakeglx.c
b/src/mesa/drivers/x11/fakeglx.c
index
34e0b8b
..
eb7c4f6
100644
(file)
--- a/
src/mesa/drivers/x11/fakeglx.c
+++ b/
src/mesa/drivers/x11/fakeglx.c
@@
-2477,9
+2477,9
@@
Fake_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;