From: Michal Krol Date: Tue, 11 Jan 2005 15:47:16 +0000 (+0000) Subject: aliasing was broken X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=43343913b98d7e113977940bc9c49f9df45add29;p=mesa.git aliasing was broken --- 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; }