projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7d93f81
)
mesa: move misplaced return statement
author
Brian Paul
<brianp@vmware.com>
Thu, 30 Jul 2009 15:02:27 +0000
(09:02 -0600)
committer
Brian Paul
<brianp@vmware.com>
Thu, 30 Jul 2009 15:02:36 +0000
(09:02 -0600)
Fixes regression from commit
7d93f817c9c5222e2bdbaa9fa9f03fc502bfe878
src/mesa/shader/arbprogparse.c
patch
|
blob
|
history
diff --git
a/src/mesa/shader/arbprogparse.c
b/src/mesa/shader/arbprogparse.c
index 10897922f6e8ef1aab38d4cb0ae881fd7de6c676..8607940dc1b61550754fc51221002cbc5ee2e21d 100644
(file)
--- a/
src/mesa/shader/arbprogparse.c
+++ b/
src/mesa/shader/arbprogparse.c
@@
-2007,8
+2007,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)++;