mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-29 18:10:23 +01:00
nvprogram: Silence "warning: unused parameter ‘ctx’"
This commit is contained in:
parent
8b3096cfa4
commit
e12b4752ef
3 changed files with 3 additions and 3 deletions
|
|
@ -560,7 +560,7 @@ _mesa_emit_nv_temp_initialization(struct gl_context *ctx,
|
|||
}
|
||||
|
||||
void
|
||||
_mesa_setup_nv_temporary_count(struct gl_context *ctx, struct gl_program *program)
|
||||
_mesa_setup_nv_temporary_count(struct gl_program *program)
|
||||
{
|
||||
GLuint i;
|
||||
|
||||
|
|
|
|||
|
|
@ -110,7 +110,7 @@ _mesa_GetProgramNamedParameterdvNV(GLuint id, GLsizei len, const GLubyte *name,
|
|||
GLdouble *params);
|
||||
|
||||
extern void
|
||||
_mesa_setup_nv_temporary_count(struct gl_context *ctx, struct gl_program *program);
|
||||
_mesa_setup_nv_temporary_count(struct gl_program *program);
|
||||
|
||||
extern void
|
||||
_mesa_emit_nv_temp_initialization(struct gl_context *ctx,
|
||||
|
|
|
|||
|
|
@ -1427,7 +1427,7 @@ _mesa_parse_nv_vertex_program(struct gl_context *ctx, GLenum dstTarget,
|
|||
}
|
||||
program->Base.NumParameters = program->Base.Parameters->NumParameters;
|
||||
|
||||
_mesa_setup_nv_temporary_count(ctx, &program->Base);
|
||||
_mesa_setup_nv_temporary_count(&program->Base);
|
||||
_mesa_emit_nv_temp_initialization(ctx, &program->Base);
|
||||
}
|
||||
else {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue