From b3efd35f4bdd62cf36b6f59be602fa8781db9b89 Mon Sep 17 00:00:00 2001 From: Alan Hourihane Date: Tue, 22 Apr 2008 23:05:11 +0100 Subject: [PATCH] revert part of the previous cleanup - it only applies to the 7.0 branch --- src/mesa/shader/prog_statevars.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) { -- 2.30.2