summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJordan Justen <[email protected]>2012-10-24 09:19:56 -0700
committerJordan Justen <[email protected]>2012-11-03 10:54:40 -0700
commit86d5c28580e0c40467d8e9d3eae682676b760753 (patch)
treec796e301a851b475ee5cc2714abf111c8af69e85
parent84b437213294ff4e1a3bcae2f9cbb36a9b4955c4 (diff)
mesa api_exec: add comment regarding GetPointerv & CORE profiles
GetPointerv was de-deprecated in 893ddb. Signed-off-by: Jordan Justen <[email protected]> Reviewed-by: Paul Berry <[email protected]>
-rw-r--r--src/mesa/main/api_exec.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/mesa/main/api_exec.c b/src/mesa/main/api_exec.c
index 2d8d82a3f93..2df70a10dfb 100644
--- a/src/mesa/main/api_exec.c
+++ b/src/mesa/main/api_exec.c
@@ -346,6 +346,10 @@ _mesa_create_exec_table(struct gl_context *ctx)
SET_InterleavedArrays(exec, _mesa_InterleavedArrays);
}
if (ctx->API != API_OPENGLES2) {
+ /* Note glGetPointerv is deprecated in GL CORE 3.1 through 4.2, but
+ * was re-added in GL CORE 4.3. We will just keep the function
+ * around in all GL CORE contexts.
+ */
SET_GetPointerv(exec, _mesa_GetPointerv);
}
SET_IsTexture(exec, _mesa_IsTexture);