[Mesa-dev] [PATCH v2 06/13] mesa: disable ProgramParameteri until ARB_geometry_shader4 is supported

Jordan Justen jordan.l.justen at intel.com
Tue Oct 30 11:25:27 PDT 2012


Signed-off-by: Jordan Justen <jordan.l.justen at intel.com>
---
 src/mesa/main/shaderapi.c |    4 ----
 1 file changed, 4 deletions(-)

diff --git a/src/mesa/main/shaderapi.c b/src/mesa/main/shaderapi.c
index 04cdfba..a8be5c5 100644
--- a/src/mesa/main/shaderapi.c
+++ b/src/mesa/main/shaderapi.c
@@ -1732,10 +1732,6 @@ _mesa_init_shader_dispatch(const struct gl_context *ctx,
    SET_GetActiveAttribARB(exec, _mesa_GetActiveAttribARB);
    SET_GetAttribLocationARB(exec, _mesa_GetAttribLocationARB);
 
-   if (ctx->API != API_OPENGLES2) {
-      SET_ProgramParameteri(exec, _mesa_ProgramParameteriARB);
-   }
-
    if (ctx->API != API_OPENGLES2 && ctx->API != API_OPENGL_CORE) {
       SET_UseShaderProgramEXT(exec, _mesa_UseShaderProgramEXT);
       SET_ActiveProgramEXT(exec, _mesa_ActiveProgramEXT);
-- 
1.7.9.5



More information about the mesa-dev mailing list