summaryrefslogtreecommitdiffstats
path: root/src/mesa/main/glthread_varray.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/mesa/main/glthread_varray.c')
-rw-r--r--src/mesa/main/glthread_varray.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/main/glthread_varray.c b/src/mesa/main/glthread_varray.c
index 8786f0f2d09..7a261552202 100644
--- a/src/mesa/main/glthread_varray.c
+++ b/src/mesa/main/glthread_varray.c
@@ -139,6 +139,6 @@ _mesa_glthread_AttribPointer(struct gl_context *ctx)
{
struct glthread_state *glthread = ctx->GLThread;
- if (ctx->API != API_OPENGL_CORE && !glthread->vertex_array_is_vbo)
+ if (!glthread->vertex_array_is_vbo)
glthread->CurrentVAO->HasUserPointer = true;
}