projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7196cdd
)
Fix some breakage after the PROGRAM_UNDEFINED change
author
Alan Hourihane
<alanh@tungstengraphics.com>
Thu, 10 Aug 2006 13:12:00 +0000
(13:12 +0000)
committer
Alan Hourihane
<alanh@tungstengraphics.com>
Thu, 10 Aug 2006 13:12:00 +0000
(13:12 +0000)
src/mesa/main/texenvprogram.c
patch
|
blob
|
history
diff --git
a/src/mesa/main/texenvprogram.c
b/src/mesa/main/texenvprogram.c
index bce570b3b2c90ebba1ece8fdef28c9ace5dba1d9..5f798cc7df47ff7a2487329189d3553cb9ddc28a 100644
(file)
--- 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
;
}