glapi: alias ProgramParameteriARB to ProgramParameteri

Signed-off-by: Jordan Justen <jordan.l.justen@intel.com>
Reviewed-by: Paul Berry <stereotype441@gmail.com>
This commit is contained in:
Jordan Justen
2012-10-26 15:38:23 -07:00
parent 1c3a64793a
commit 31c03f2f8c
3 changed files with 5 additions and 5 deletions

View File

@@ -27,7 +27,7 @@
<enum name="FRAMEBUFFER_ATTACHMENT_LAYERED_ARB" value="0x8DA7"/>
<enum name="FRAMEBUFFER_ATTACHMENT_TEXTURE_LAYER" value="0x8CD4"/>
<enum name="PROGRAM_POINT_SIZE_ARB" value="0x8642"/>
<function name="ProgramParameteriARB" offset="assign">
<function name="ProgramParameteriARB" alias="ProgramParameteri">
<param name="program" type="GLuint"/>
<param name="pname" type="GLenum"/>
<param name="value" type="GLint"/>

View File

@@ -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);

View File

@@ -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) {