glx: use __glXGetString

This commit is contained in:
RALOVICH, Kristóf 2008-11-03 18:32:35 +01:00 committed by Brian Paul
parent 9c98e35ff6
commit f0d015cccb
1 changed files with 1 additions and 3 deletions

View 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);