diff options
Diffstat (limited to 'src/glx/indirect_glx.c')
-rw-r--r-- | src/glx/indirect_glx.c | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/src/glx/indirect_glx.c b/src/glx/indirect_glx.c index 1991f70251b..51dd2cacb21 100644 --- a/src/glx/indirect_glx.c +++ b/src/glx/indirect_glx.c @@ -131,7 +131,6 @@ indirect_bind_context(struct glx_context *gc, struct glx_context *old, GLXDrawable draw, GLXDrawable read) { GLXContextTag tag; - __GLXattribute *state; Display *dpy = gc->psc->dpy; int opcode = __glXSetupForCommand(dpy); Bool sent; @@ -150,13 +149,6 @@ indirect_bind_context(struct glx_context *gc, struct glx_context *old, IndirectAPI = __glXNewIndirectAPI(); _glapi_set_dispatch(IndirectAPI); - state = gc->client_state_private; - if (state->array_state == NULL) { - glGetString(GL_EXTENSIONS); - glGetString(GL_VERSION); - __glXInitVertexArrayState(gc); - } - return !sent; } |