summaryrefslogtreecommitdiffstats
path: root/src/mesa
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2009-07-30 08:20:01 -0600
committerBrian Paul <[email protected]>2009-07-30 08:23:26 -0600
commit7d93f817c9c5222e2bdbaa9fa9f03fc502bfe878 (patch)
tree45b1d18199de846d42f6dbb5ed5ff1c6fa507200 /src/mesa
parent684282953937a37541f26c6e51ceec4134c62dfb (diff)
mesa: add missing return after catching program error
Diffstat (limited to 'src/mesa')
-rw-r--r--src/mesa/shader/arbprogparse.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mesa/shader/arbprogparse.c b/src/mesa/shader/arbprogparse.c
index 0d4f13c9708..10897922f6e 100644
--- a/src/mesa/shader/arbprogparse.c
+++ b/src/mesa/shader/arbprogparse.c
@@ -2008,6 +2008,7 @@ parse_param (GLcontext * ctx, const GLubyte ** inst, struct var_cache **vc_head,
program_error(ctx, Program->Position,
"Declared parameter array length does not match parameter list");
}
+ return 1;
}
(*inst)++;