summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlan Hourihane <[email protected]>2008-04-22 20:29:00 +0100
committerAlan Hourihane <[email protected]>2008-04-22 20:31:58 +0100
commitc8666cfb0be7c36be66f7f14aa013c8afa1a9d38 (patch)
treeef8eee79e00411b22b24f01872d1b1b632b3d149
parenteec20c359db9b48161902fea2a5ad014b09fd190 (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 4ae74c1d42b..01ab051d13a 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) {