From f862be0d7c7997401565f8fba87cf9c2f53f170b Mon Sep 17 00:00:00 2001 From: Jordan Justen Date: Mon, 29 Oct 2012 10:37:50 -0700 Subject: mesa: disable ProgramParameteri until it is needed ProgramParameteri will be required for ARB_geometry_shader4 or GLES3. Don't enable this function until either of those is supported. Signed-off-by: Jordan Justen Reviewed-by: Paul Berry --- 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 4411e8acca7..9376b0f42ef 100644 --- a/src/mesa/main/shaderapi.c +++ b/src/mesa/main/shaderapi.c @@ -1734,10 +1734,6 @@ _mesa_init_shader_dispatch(const struct gl_context *ctx, SET_GetAttribLocationARB(exec, _mesa_GetAttribLocationARB); } - if (_mesa_is_desktop_gl(ctx)) { - SET_ProgramParameteri(exec, _mesa_ProgramParameteriARB); - } - if (ctx->API == API_OPENGL) { SET_UseShaderProgramEXT(exec, _mesa_UseShaderProgramEXT); SET_ActiveProgramEXT(exec, _mesa_ActiveProgramEXT); -- cgit v1.2.3