Mesa (9.0): mesa: Don't set dispatch pointer for glGetProgramivARB in ES2

Ian Romanick idr at kemper.freedesktop.org
Fri Sep 28 18:06:54 UTC 2012


Module: Mesa
Branch: 9.0
Commit: 90ec1db9f4c62d345fc78518570f4fde5e177d57
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=90ec1db9f4c62d345fc78518570f4fde5e177d57

Author: Ian Romanick <ian.d.romanick at intel.com>
Date:   Wed Sep  5 14:06:18 2012 -0700

mesa: Don't set dispatch pointer for glGetProgramivARB in ES2

This function is not the same as glGetProgramiv.

NOTE: This is a candidate for the 9.0 branch

Signed-off-by: Ian Romanick <ian.d.romanick at intel.com>
Reviewed-by: Eric Anholt <eric at anholt.net>
(cherry picked from commit 7f7268d385cc1435264b8d3111e1596b2dae9183)

---

 src/mesa/main/api_exec.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/mesa/main/api_exec.c b/src/mesa/main/api_exec.c
index c217ff7..8415cd1 100644
--- a/src/mesa/main/api_exec.c
+++ b/src/mesa/main/api_exec.c
@@ -699,11 +699,11 @@ _mesa_create_exec_table(struct gl_context *ctx)
       SET_ProgramLocalParameter4fvARB(exec, _mesa_ProgramLocalParameter4fvARB);
       SET_GetProgramEnvParameterdvARB(exec, _mesa_GetProgramEnvParameterdvARB);
       SET_GetProgramEnvParameterfvARB(exec, _mesa_GetProgramEnvParameterfvARB);
+      SET_GetProgramivARB(exec, _mesa_GetProgramivARB);
       SET_GetProgramLocalParameterdvARB(exec, _mesa_GetProgramLocalParameterdvARB);
       SET_GetProgramLocalParameterfvARB(exec, _mesa_GetProgramLocalParameterfvARB);
       SET_GetProgramStringARB(exec, _mesa_GetProgramStringARB);
    }
-   SET_GetProgramivARB(exec, _mesa_GetProgramivARB);
 #endif
 
    /* ARB 28. GL_ARB_vertex_buffer_object */




More information about the mesa-commit mailing list