Mesa (master): mesa api_exec: add comment regarding GetPointerv & CORE profiles
Jordan Justen
jljusten at kemper.freedesktop.org
Sat Nov 3 18:17:40 UTC 2012
Module: Mesa
Branch: master
Commit: 86d5c28580e0c40467d8e9d3eae682676b760753
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=86d5c28580e0c40467d8e9d3eae682676b760753
Author: Jordan Justen <jordan.l.justen at intel.com>
Date: Wed Oct 24 09:19:56 2012 -0700
mesa api_exec: add comment regarding GetPointerv & CORE profiles
GetPointerv was de-deprecated in 893ddb.
Signed-off-by: Jordan Justen <jordan.l.justen at intel.com>
Reviewed-by: Paul Berry <stereotype441 at gmail.com>
---
src/mesa/main/api_exec.c | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
diff --git a/src/mesa/main/api_exec.c b/src/mesa/main/api_exec.c
index 2d8d82a..2df70a1 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);
More information about the mesa-commit
mailing list