From 6fc864b9e6f98041479ca7cf1d8226985312a2de Mon Sep 17 00:00:00 2001 From: Aapo Tahkola Date: Wed, 22 Mar 2006 21:29:15 +0000 Subject: ARL dst idx was undefined. --- src/mesa/shader/arbprogparse.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/mesa/shader') diff --git a/src/mesa/shader/arbprogparse.c b/src/mesa/shader/arbprogparse.c index a64360adbe3..a3c433b0c3d 100644 --- a/src/mesa/shader/arbprogparse.c +++ b/src/mesa/shader/arbprogparse.c @@ -2296,7 +2296,8 @@ parse_address_reg (GLcontext * ctx, GLubyte ** inst, { struct var_cache *dst; GLuint result; - (void) Index; + + *Index = 0; /* XXX */ dst = parse_string (inst, vc_head, Program, &result); Program->Position = parse_position (inst); -- cgit v1.2.3