summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlan Hourihane <alanh@tungstengraphics.com>2008-04-22 23:08:35 +0100
committerAlan Hourihane <alanh@tungstengraphics.com>2008-04-22 23:08:35 +0100
commitf6d6fc603ec328d08e2c72e33d97af477a741f0b (patch)
tree8e1847a8f8ca99af0d03523e7d8702ed680ad54d
parent5545b46571c903d293f8a52ec0a36c1b19e6a693 (diff)
revert
-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 71355c393c..05daa8011d 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) {