correct the return value
authorAlan Hourihane <alanh@tungstengraphics.com>
Tue, 22 Apr 2008 19:29:00 +0000 (20:29 +0100)
committerAlan Hourihane <alanh@tungstengraphics.com>
Tue, 22 Apr 2008 19:31:58 +0000 (20:31 +0100)
src/mesa/shader/prog_statevars.c

index 4ae74c1d42b0aa8869ef2c397d44c306a583235d..01ab051d13a075d8a9e5d087abf4630c5df141d7 100644 (file)
@@ -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) {