summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlan Hourihane <alanh@tungstengraphics.com>2008-04-22 20:29:00 +0100
committerAlan Hourihane <alanh@tungstengraphics.com>2008-04-22 20:29:00 +0100
commit06b0a7acce6aa4415adaf7456f17e46230bbd7bc (patch)
tree10876d23c1397f2b80707922b8a3d0ba7e42044f
parent534f30064daf380db3b624c7fc1d4c8f635556b8 (diff)
correct the return value
-rw-r--r--src/mesa/shader/prog_statevars.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/shader/prog_statevars.c b/src/mesa/shader/prog_statevars.c
index 05daa8011d..71355c393c 100644
--- a/src/mesa/shader/prog_statevars.c
+++ b/src/mesa/shader/prog_statevars.c
@@ -813,7 +813,7 @@ _mesa_load_state_parameters(GLcontext *ctx,
GLuint i;
if (!paramList)
- return;
+ return retval;
for (i = 0; i < paramList->NumParameters; i++) {
if (paramList->Parameters[i].Type == PROGRAM_STATE_VAR) {