glx: use __glXGetString
authorRALOVICH, Kristóf <tade60@freemail.hu>
Mon, 3 Nov 2008 17:32:35 +0000 (18:32 +0100)
committerBrian Paul <brian.paul@tungstengraphics.com>
Wed, 26 Nov 2008 17:00:58 +0000 (10:00 -0700)
src/glx/x11/single2.c

index 83a250522206779e24a73bfe6aa1a2e77e0ad9ec..4375cb31260d21ee0f30681a3138baba7bebd6a4 100644 (file)
@@ -679,9 +679,7 @@ __indirect_glGetString(GLenum name)
     */
 
    (void) __glXFlushRenderBuffer(gc, gc->pc);
-   s = (GLubyte *) __glXGetStringFromServer(dpy, gc->majorOpcode,
-                                            X_GLsop_GetString,
-                                            gc->currentContextTag, name);
+   s = (GLubyte *) __glXGetString(dpy, gc->currentContextTag, name);
    if (!s) {
       /* Throw data on the floor */
       __glXSetError(gc, GL_OUT_OF_MEMORY);