diff options
author | RALOVICH, Kristóf <[email protected]> | 2008-11-04 11:31:53 +0100 |
---|---|---|
committer | Brian Paul <[email protected]> | 2008-11-26 10:02:11 -0700 |
commit | 6d1d1576062e569fe1d372f44ba3f646c21ae1c3 (patch) | |
tree | 6612d61841ebf60b515175b645f2b10d9224d03e /src/glx/x11/glxcmds.c | |
parent | 9c7aaa7afbda92587f28cc28c4c8315e7861d318 (diff) |
glx: no graphics context during initialization
Diffstat (limited to 'src/glx/x11/glxcmds.c')
-rw-r--r-- | src/glx/x11/glxcmds.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/glx/x11/glxcmds.c b/src/glx/x11/glxcmds.c index 18bf12084b4..0bb548f776d 100644 --- a/src/glx/x11/glxcmds.c +++ b/src/glx/x11/glxcmds.c @@ -1336,7 +1336,7 @@ PUBLIC const char *glXQueryExtensionsString( Display *dpy, int screen ) if (!psc->effectiveGLXexts) { if (!psc->serverGLXexts) { psc->serverGLXexts = - __glXQueryServerString(dpy, screen, GLX_EXTENSIONS); + __glXQueryServerString(dpy, priv->majorOpcode, screen, GLX_EXTENSIONS); } __glXCalculateUsableExtensions(psc, @@ -1391,7 +1391,7 @@ PUBLIC const char *glXQueryServerString( Display *dpy, int screen, int name ) } if ( *str == NULL ) { - *str = __glXQueryServerString(dpy, screen, name); + *str = __glXQueryServerString(dpy, priv->majorOpcode, screen, name); } return *str; |