Browse Source

Fix some breakage after the PROGRAM_UNDEFINED change

tags/texmem_0_2_20060912
Alan Hourihane 19 years ago
parent
commit
8d97265711
1 changed files with 2 additions and 2 deletions
  1. 2
    2
      src/mesa/main/texenvprogram.c

+ 2
- 2
src/mesa/main/texenvprogram.c View File

@@ -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;
}



Loading…
Cancel
Save