summaryrefslogtreecommitdiffstats
path: root/src/mesa/shader/prog_statevars.c
diff options
context:
space:
mode:
authorAlan Hourihane <[email protected]>2008-04-22 23:05:11 +0100
committerAlan Hourihane <[email protected]>2008-04-22 23:05:11 +0100
commitb3efd35f4bdd62cf36b6f59be602fa8781db9b89 (patch)
tree11f4aa20e0de7e824fb02a4e955626fb91580e15 /src/mesa/shader/prog_statevars.c
parent936dba1de5ca0d4252061c4a93674fad2d66d202 (diff)
revert part of the previous cleanup - it only applies
to the 7.0 branch
Diffstat (limited to 'src/mesa/shader/prog_statevars.c')
-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 01ab051d13a..4ae74c1d42b 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 retval;
+ return;
for (i = 0; i < paramList->NumParameters; i++) {
if (paramList->Parameters[i].Type == PROGRAM_STATE_VAR) {