summaryrefslogtreecommitdiffstats
path: root/src/mesa
diff options
context:
space:
mode:
authorJordan Justen <[email protected]>2012-10-26 15:38:23 -0700
committerJordan Justen <[email protected]>2012-11-03 10:54:41 -0700
commit31c03f2f8c64a62c4cc516dbb9cfd72e4352f037 (patch)
tree9f96dd2eddfe17e4bfd531a5bf4c71a94bd0530d /src/mesa
parent1c3a64793a6636bb3f50d71e7ffd5311d4c78c17 (diff)
glapi: alias ProgramParameteriARB to ProgramParameteri
Signed-off-by: Jordan Justen <[email protected]> Reviewed-by: Paul Berry <[email protected]>
Diffstat (limited to 'src/mesa')
-rw-r--r--src/mesa/main/dlist.c6
-rw-r--r--src/mesa/main/shaderapi.c2
2 files changed, 4 insertions, 4 deletions
diff --git a/src/mesa/main/dlist.c b/src/mesa/main/dlist.c
index 94bfb781d20..c15043694da 100644
--- a/src/mesa/main/dlist.c
+++ b/src/mesa/main/dlist.c
@@ -7177,7 +7177,7 @@ save_ProgramParameteri(GLuint program, GLenum pname, GLint value)
n[3].i = value;
}
if (ctx->ExecuteFlag) {
- CALL_ProgramParameteriARB(ctx->Exec, (program, pname, value));
+ CALL_ProgramParameteri(ctx->Exec, (program, pname, value));
}
}
@@ -8509,7 +8509,7 @@ execute_list(struct gl_context *ctx, GLuint list)
/* GL_ARB_geometry_shader4 */
case OPCODE_PROGRAM_PARAMETERI:
- CALL_ProgramParameteriARB(ctx->Exec, (n[1].ui, n[2].e, n[3].i));
+ CALL_ProgramParameteri(ctx->Exec, (n[1].ui, n[2].e, n[3].i));
break;
case OPCODE_FRAMEBUFFER_TEXTURE:
CALL_FramebufferTexture(ctx->Exec, (n[1].e, n[2].e,
@@ -10212,7 +10212,7 @@ _mesa_create_save_table(const struct gl_context *ctx)
SET_BlendEquationSeparateiARB(table, save_BlendEquationSeparatei);
/* GL_ARB_geometry_shader4 */
- SET_ProgramParameteriARB(table, save_ProgramParameteri);
+ SET_ProgramParameteri(table, save_ProgramParameteri);
SET_FramebufferTexture(table, save_FramebufferTexture);
SET_FramebufferTextureFaceARB(table, save_FramebufferTextureFace);
diff --git a/src/mesa/main/shaderapi.c b/src/mesa/main/shaderapi.c
index 75c4c66ac93..4411e8acca7 100644
--- a/src/mesa/main/shaderapi.c
+++ b/src/mesa/main/shaderapi.c
@@ -1735,7 +1735,7 @@ _mesa_init_shader_dispatch(const struct gl_context *ctx,
}
if (_mesa_is_desktop_gl(ctx)) {
- SET_ProgramParameteriARB(exec, _mesa_ProgramParameteriARB);
+ SET_ProgramParameteri(exec, _mesa_ProgramParameteriARB);
}
if (ctx->API == API_OPENGL) {