OSDN Git Service

mesa api_exec: add comment regarding GetPointerv & CORE profiles
authorJordan Justen <jordan.l.justen@intel.com>
Wed, 24 Oct 2012 16:19:56 +0000 (09:19 -0700)
committerJordan Justen <jordan.l.justen@intel.com>
Sat, 3 Nov 2012 17:54:40 +0000 (10:54 -0700)
GetPointerv was de-deprecated in 893ddb.

Signed-off-by: Jordan Justen <jordan.l.justen@intel.com>
Reviewed-by: Paul Berry <stereotype441@gmail.com>
src/mesa/main/api_exec.c

index 2d8d82a..2df70a1 100644 (file)
@@ -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);