From: Alan Hourihane Date: Tue, 22 Apr 2008 19:29:00 +0000 (+0100) Subject: correct the return value X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=c8666cfb0be7c36be66f7f14aa013c8afa1a9d38;p=mesa.git correct the return value --- 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) {