correct the return value

This commit is contained in:
Alan Hourihane
2008-04-22 20:29:00 +01:00
parent eec20c359d
commit c8666cfb0b

View File

@@ -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) {