mesa: glGetVertexAttribPointerv is part of core profile and ES2
authorIan Romanick <ian.d.romanick@intel.com>
Wed, 8 Aug 2012 20:37:45 +0000 (13:37 -0700)
committerIan Romanick <ian.d.romanick@intel.com>
Wed, 29 Aug 2012 22:09:36 +0000 (15:09 -0700)
Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
src/mesa/main/api_exec.c

index 6b1499f4f0616d7a279800eea9d9efe107ecfbfe..356b133d4a86e8c78b99d5a056e8a2dc3b8080ce 100644 (file)
@@ -477,7 +477,6 @@ _mesa_create_exec_table(struct gl_context *ctx)
       SET_GetVertexAttribdvNV(exec, _mesa_GetVertexAttribdvNV);
       SET_GetVertexAttribfvNV(exec, _mesa_GetVertexAttribfvNV);
       SET_GetVertexAttribivNV(exec, _mesa_GetVertexAttribivNV);
-      SET_GetVertexAttribPointervNV(exec, _mesa_GetVertexAttribPointervNV);
       SET_IsProgramNV(exec, _mesa_IsProgramARB);
       SET_LoadProgramNV(exec, _mesa_LoadProgramNV);
       SET_ProgramEnvParameter4dARB(exec, _mesa_ProgramEnvParameter4dARB); /* alias to ProgramParameter4dNV */
@@ -491,6 +490,7 @@ _mesa_create_exec_table(struct gl_context *ctx)
       /* glVertexAttrib*NV functions handled in api_loopback.c */
    }
 #endif
+   SET_GetVertexAttribPointervNV(exec, _mesa_GetVertexAttribPointervNV);
 
    /* 273. GL_APPLE_vertex_array_object */
    if (ctx->API == API_OPENGL) {