summaryrefslogtreecommitdiffstats
path: root/src/mesa/shader/arbprogparse.c
diff options
context:
space:
mode:
authorMichal Krol <[email protected]>2005-01-11 15:47:16 +0000
committerMichal Krol <[email protected]>2005-01-11 15:47:16 +0000
commit43343913b98d7e113977940bc9c49f9df45add29 (patch)
tree1b0db0d17a14953f8e76d09a201db834630b7668 /src/mesa/shader/arbprogparse.c
parentb13eaf269895df3b688e2c014c9fdfb93de48462 (diff)
aliasing was broken
Diffstat (limited to 'src/mesa/shader/arbprogparse.c')
-rw-r--r--src/mesa/shader/arbprogparse.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/shader/arbprogparse.c b/src/mesa/shader/arbprogparse.c
index 678d40bb685..6ca525fb108 100644
--- a/src/mesa/shader/arbprogparse.c
+++ b/src/mesa/shader/arbprogparse.c
@@ -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;
}