projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cb1dcb5
)
mesa: Assign _mesa_lookup_parameter_index return value to GLint.
author
Vinson Lee
<vlee@vmware.com>
Fri, 11 Dec 2009 02:32:33 +0000
(18:32 -0800)
committer
Vinson Lee
<vlee@vmware.com>
Fri, 11 Dec 2009 02:32:33 +0000
(18:32 -0800)
src/mesa/shader/prog_parameter.c
patch
|
blob
|
history
diff --git
a/src/mesa/shader/prog_parameter.c
b/src/mesa/shader/prog_parameter.c
index 2f029b02e50a61bb13efce004d08dec75ca472cc..f22492e029e3a5e1c23a53f619bdf3b82a1e9308 100644
(file)
--- a/
src/mesa/shader/prog_parameter.c
+++ b/
src/mesa/shader/prog_parameter.c
@@
-500,7
+500,7
@@
GLfloat *
_mesa_lookup_parameter_value(const struct gl_program_parameter_list *paramList,
GLsizei nameLen, const char *name)
{
- GL
u
int i = _mesa_lookup_parameter_index(paramList, nameLen, name);
+ GLint i = _mesa_lookup_parameter_index(paramList, nameLen, name);
if (i < 0)
return NULL;
else