summaryrefslogtreecommitdiff
path: root/lib/mesa/src/glx/glxcurrent.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/mesa/src/glx/glxcurrent.c')
-rw-r--r--lib/mesa/src/glx/glxcurrent.c12
1 files changed, 0 insertions, 12 deletions
diff --git a/lib/mesa/src/glx/glxcurrent.c b/lib/mesa/src/glx/glxcurrent.c
index 9c5d2af89..a388df7a7 100644
--- a/lib/mesa/src/glx/glxcurrent.c
+++ b/lib/mesa/src/glx/glxcurrent.c
@@ -245,18 +245,6 @@ MakeContextCurrent(Display * dpy, GLXDrawable draw,
__glXUnlock();
- /* The indirect vertex array state must to be initialised after we
- * have setup the context, as it needs to query server attributes.
- */
- if (gc && !gc->isDirect) {
- __GLXattribute *state = gc->client_state_private;
- if (state && state->array_state == NULL) {
- glGetString(GL_EXTENSIONS);
- glGetString(GL_VERSION);
- __glXInitVertexArrayState(gc);
- }
- }
-
return GL_TRUE;
}