aliasing was broken
authorMichal Krol <mjkrol@gmail.org>
Tue, 11 Jan 2005 15:47:16 +0000 (15:47 +0000)
committerMichal Krol <mjkrol@gmail.org>
Tue, 11 Jan 2005 15:47:16 +0000 (15:47 +0000)
src/mesa/shader/arbprogparse.c

index 678d40bb685bc6a31e628d600b12659c0b139f53..6ca525fb108ae9360184848d391acb2c2f1d002a 100644 (file)
@@ -560,7 +560,7 @@ var_cache_find (struct var_cache *va, GLubyte * name)
    while (va) {
       if (!strcmp ( (const char*) name, (const char*) va->name)) {
          if (va->type == vt_alias)
-            return var_cache_find (first, va->name);
+            return va->alias_binding;
          return va;
       }