diff options
author | Josh Bell <josh@lindenlab.com> | 2007-04-04 19:49:24 +0000 |
---|---|---|
committer | Josh Bell <josh@lindenlab.com> | 2007-04-04 19:49:24 +0000 |
commit | 98740db8fd5875033d08b6aef6d9bf5c3c49eeee (patch) | |
tree | dd0e83734e50ffd4d9f87eb2ed4091f867f2f1fd /indra/newview/llviewerdisplay.cpp | |
parent | aa96d1fddff3d5bf68a5014229a0d20584937222 (diff) |
svn merge -r 59826:59968 svn+ssh://svn.lindenlab.com/svn/linden/branches/maintenance --> release
Diffstat (limited to 'indra/newview/llviewerdisplay.cpp')
-rw-r--r-- | indra/newview/llviewerdisplay.cpp | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/indra/newview/llviewerdisplay.cpp b/indra/newview/llviewerdisplay.cpp index f6fa23c6f6..df5b0f1182 100644 --- a/indra/newview/llviewerdisplay.cpp +++ b/indra/newview/llviewerdisplay.cpp @@ -138,12 +138,7 @@ void display(BOOL rebuild, F32 zoom_factor, int subfield) LLGLDepthTest gls_depth(GL_TRUE, GL_TRUE, GL_LEQUAL); // No clue where this is getting unset, but safe enough to reset it here. - for (S32 j = 7; j >=0; j--) - { - glActiveTextureARB(GL_TEXTURE0_ARB+j); - glClientActiveTextureARB(GL_TEXTURE0_ARB+j); - j == 0 ? glEnable(GL_TEXTURE_2D) : glDisable(GL_TEXTURE_2D); - } + LLGLState::resetTextureStates(); #ifndef LL_RELEASE_FOR_DOWNLOAD LLGLState::checkStates(); |