summaryrefslogtreecommitdiffstats
path: root/src/mesa/shader
diff options
context:
space:
mode:
authorAapo Tahkola <[email protected]>2006-03-22 21:29:15 +0000
committerAapo Tahkola <[email protected]>2006-03-22 21:29:15 +0000
commit6fc864b9e6f98041479ca7cf1d8226985312a2de (patch)
treee829e870572b7f2797be01ade6afa05de71305fe /src/mesa/shader
parentdaffbe99dc77c0f1cae23fd03e02d61ef354c1dc (diff)
ARL dst idx was undefined.
Diffstat (limited to 'src/mesa/shader')
-rw-r--r--src/mesa/shader/arbprogparse.c3
1 files changed, 2 insertions, 1 deletions
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);