From 7d93f817c9c5222e2bdbaa9fa9f03fc502bfe878 Mon Sep 17 00:00:00 2001 From: Brian Paul Date: Thu, 30 Jul 2009 08:20:01 -0600 Subject: [PATCH] mesa: add missing return after catching program error --- src/mesa/shader/arbprogparse.c | 1 + 1 file changed, 1 insertion(+) 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)++; -- 2.30.2