diff options
author | Alan Hourihane <alanh@tungstengraphics.com> | 2006-08-10 13:12:00 +0000 |
---|---|---|
committer | Alan Hourihane <alanh@tungstengraphics.com> | 2006-08-10 13:12:00 +0000 |
commit | 8d97265711b172da4f387748f0e72da9267492b0 (patch) | |
tree | 2bb4af8fd9787f5c7a44a383ed52492be1ad4b7a | |
parent | 7196cddb3a404292858101f9cd1a5061e422d2c1 (diff) |
Fix some breakage after the PROGRAM_UNDEFINED change
-rw-r--r-- | src/mesa/main/texenvprogram.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mesa/main/texenvprogram.c b/src/mesa/main/texenvprogram.c index bce570b3b2..5f798cc7df 100644 --- a/src/mesa/main/texenvprogram.c +++ b/src/mesa/main/texenvprogram.c @@ -258,7 +258,7 @@ struct ureg { }; static const struct ureg undef = { - ~0, + PROGRAM_UNDEFINED, ~0, 0, 0, @@ -334,7 +334,7 @@ static struct ureg negate( struct ureg reg ) static GLboolean is_undef( struct ureg reg ) { - return reg.file == 0xf; + return reg.file == PROGRAM_UNDEFINED; } |