summaryrefslogtreecommitdiffstats
path: root/src/mesa/main
diff options
context:
space:
mode:
authorJordan Justen <[email protected]>2012-10-29 10:37:50 -0700
committerJordan Justen <[email protected]>2012-11-03 10:54:41 -0700
commitf862be0d7c7997401565f8fba87cf9c2f53f170b (patch)
treea72869de6f7d53d9bfe482f4cb9f4461cae837a6 /src/mesa/main
parent31c03f2f8c64a62c4cc516dbb9cfd72e4352f037 (diff)
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 <[email protected]> Reviewed-by: Paul Berry <[email protected]>
Diffstat (limited to 'src/mesa/main')
-rw-r--r--src/mesa/main/shaderapi.c4
1 files changed, 0 insertions, 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);