summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAlan Hourihane <alanh@tungstengraphics.com>2006-08-10 13:14:24 +0000
committerAlan Hourihane <alanh@tungstengraphics.com>2006-08-10 13:14:24 +0000
commita89b099c74c0129c975d3f7ba1cdccc6a8d6b6be (patch)
treeac85ad32846b1043377d82465e60d12a2aaef6d2 /src
parent8d97265711b172da4f387748f0e72da9267492b0 (diff)
Fixup more PROGRAM_UNDEFINED problems.
Diffstat (limited to 'src')
-rw-r--r--src/mesa/tnl/t_vp_build.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mesa/tnl/t_vp_build.c b/src/mesa/tnl/t_vp_build.c
index 3a66a54715..894a13b704 100644
--- a/src/mesa/tnl/t_vp_build.c
+++ b/src/mesa/tnl/t_vp_build.c
@@ -273,7 +273,7 @@ struct tnl_program {
static const struct ureg undef = {
- ~0,
+ PROGRAM_UNDEFINED,
~0,
0,
0,
@@ -397,7 +397,7 @@ static struct ureg register_const4f( struct tnl_program *p,
static GLboolean is_undef( struct ureg reg )
{
- return reg.file == 0xf;
+ return reg.file == PROGRAM_UNDEFINED;
}
static struct ureg get_identity_param( struct tnl_program *p )