glx: use __glXGetString
This commit is contained in:
parent
9c98e35ff6
commit
f0d015cccb
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue