mesa: Assign _mesa_lookup_parameter_index return value to GLint.
This commit is contained in:
parent
cb1dcb55f9
commit
e31df54754
|
@ -500,7 +500,7 @@ GLfloat *
|
|||
_mesa_lookup_parameter_value(const struct gl_program_parameter_list *paramList,
|
||||
GLsizei nameLen, const char *name)
|
||||
{
|
||||
GLuint i = _mesa_lookup_parameter_index(paramList, nameLen, name);
|
||||
GLint i = _mesa_lookup_parameter_index(paramList, nameLen, name);
|
||||
if (i < 0)
|
||||
return NULL;
|
||||
else
|
||||
|
|
Loading…
Reference in New Issue