summaryrefslogtreecommitdiffstats
path: root/src/glx/x11/single2.c
diff options
context:
space:
mode:
authorRALOVICH, Kristóf <[email protected]>2008-11-04 11:31:53 +0100
committerBrian Paul <[email protected]>2008-11-26 10:02:11 -0700
commit6d1d1576062e569fe1d372f44ba3f646c21ae1c3 (patch)
tree6612d61841ebf60b515175b645f2b10d9224d03e /src/glx/x11/single2.c
parent9c7aaa7afbda92587f28cc28c4c8315e7861d318 (diff)
glx: no graphics context during initialization
Diffstat (limited to 'src/glx/x11/single2.c')
-rw-r--r--src/glx/x11/single2.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/glx/x11/single2.c b/src/glx/x11/single2.c
index 4375cb31260..0b2d5113cc8 100644
--- a/src/glx/x11/single2.c
+++ b/src/glx/x11/single2.c
@@ -679,7 +679,7 @@ __indirect_glGetString(GLenum name)
*/
(void) __glXFlushRenderBuffer(gc, gc->pc);
- s = (GLubyte *) __glXGetString(dpy, 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);