projects
/
mesa.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
glx: no graphics context during initialization
[mesa.git]
/
src
/
glx
/
x11
/
single2.c
diff --git
a/src/glx/x11/single2.c
b/src/glx/x11/single2.c
index b008c6996c107914ee98471c808860ebf17c7833..0b2d5113cc8eb605108e03d0e43dd329b47485d4 100644
(file)
--- a/
src/glx/x11/single2.c
+++ b/
src/glx/x11/single2.c
@@
-40,6
+40,7
@@
#ifdef USE_XCB
#include <xcb/xcb.h>
#include <xcb/glx.h>
#ifdef USE_XCB
#include <xcb/xcb.h>
#include <xcb/glx.h>
+#include <X11/Xlib-xcb.h>
#endif /* USE_XCB */
#endif /* USE_XCB */
@@
-678,9
+679,7
@@
__indirect_glGetString(GLenum name)
*/
(void) __glXFlushRenderBuffer(gc, gc->pc);
*/
(void) __glXFlushRenderBuffer(gc, gc->pc);
- s = (GLubyte *) __glXGetStringFromServer(dpy, gc->majorOpcode,
- X_GLsop_GetString,
- gc->currentContextTag, name);
+ s = (GLubyte *) __glXGetString(dpy, gc->majorOpcode, gc->currentContextTag, name);
if (!s) {
/* Throw data on the floor */
__glXSetError(gc, GL_OUT_OF_MEMORY);
if (!s) {
/* Throw data on the floor */
__glXSetError(gc, GL_OUT_OF_MEMORY);