From c8666cfb0be7c36be66f7f14aa013c8afa1a9d38 Mon Sep 17 00:00:00 2001 From: Alan Hourihane Date: Tue, 22 Apr 2008 20:29:00 +0100 Subject: correct the return value --- src/mesa/shader/prog_statevars.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/mesa') 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) { -- cgit v1.2.3