ARL dst idx was undefined.
authorAapo Tahkola <aet@rasterburn.org>
Wed, 22 Mar 2006 21:29:15 +0000 (21:29 +0000)
committerAapo Tahkola <aet@rasterburn.org>
Wed, 22 Mar 2006 21:29:15 +0000 (21:29 +0000)
src/mesa/shader/arbprogparse.c

index a64360adbe37cfe35d28e701beee7b98f20cf295..a3c433b0c3df9efcc3c393f82933e55d368b43a2 100644 (file)
@@ -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);