Clean up the recent code related to texture_override(). Pass params in a
authorBrian Paul <brian.paul@tungstengraphics.com>
Fri, 24 Mar 2006 23:53:50 +0000 (23:53 +0000)
committerBrian Paul <brian.paul@tungstengraphics.com>
Fri, 24 Mar 2006 23:53:50 +0000 (23:53 +0000)
commit1bbc203c6e7fa200339204d4b686616ed030e6c1
tree98c9a03756df56a42c7b3447dc64f2e1535dfc9c
parent6494541eaa375bdf4241ea7b8f8a881cbb0debda
Clean up the recent code related to texture_override().  Pass params in a
more logical order.
Remove a mess of stray ^M chars.
Fix a bug when checking if the texture object's format is GL_COLOR_INDEX
or GL_DEPTH_COMPONENT.  This fixes a segfault when GL_TEXTURE_BASE_LEVEL!=0.
src/mesa/main/texstate.c