mesa: use enums for TEXTURE_x_INDEX values
authorBrian Paul <brianp@vmware.com>
Sat, 21 Feb 2009 22:15:20 +0000 (15:15 -0700)
committerBrian Paul <brianp@vmware.com>
Sat, 21 Feb 2009 22:15:20 +0000 (15:15 -0700)
commitd059d030342fc232a5b54298c0591f5f814f4adb
tree63b709b44ac9a6b07f184ed8ac209654a192c665
parent9818734e0148510967ca9ee0d1aa8b196b509f02
mesa: use enums for TEXTURE_x_INDEX values

Plus, put them in the order of highest to lowest priority to simplify
the texture_override() loop.
src/mesa/main/context.c
src/mesa/main/mtypes.h
src/mesa/main/texstate.c