diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/mesa/shader/arbprogparse.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/shader/arbprogparse.c b/src/mesa/shader/arbprogparse.c index 4baacdf241..0f530ebb8a 100644 --- a/src/mesa/shader/arbprogparse.c +++ b/src/mesa/shader/arbprogparse.c @@ -2027,8 +2027,8 @@ parse_param (GLcontext * ctx, const GLubyte ** inst, struct var_cache **vc_head, if (specified_length != (int)param_var->param_binding_length) { program_error(ctx, Program->Position, "Declared parameter array length does not match parameter list"); + return 1; } - return 1; } (*inst)++; |