diff options
author | Alan Hourihane <[email protected]> | 2008-04-22 20:29:00 +0100 |
---|---|---|
committer | Alan Hourihane <[email protected]> | 2008-04-22 20:31:58 +0100 |
commit | c8666cfb0be7c36be66f7f14aa013c8afa1a9d38 (patch) | |
tree | ef8eee79e00411b22b24f01872d1b1b632b3d149 /src/mesa | |
parent | eec20c359db9b48161902fea2a5ad014b09fd190 (diff) |
correct the return value
Diffstat (limited to 'src/mesa')
-rw-r--r-- | src/mesa/shader/prog_statevars.c | 2 |
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) { |