Full v2.6 renderer.
This commit is contained in:
@@ -45,6 +45,7 @@ LLRender gGL;
|
||||
// Handy copies of last good GL matrices
|
||||
F64 gGLModelView[16];
|
||||
F64 gGLLastModelView[16];
|
||||
F64 gGLLastProjection[16];
|
||||
F64 gGLProjection[16];
|
||||
S32 gGLViewport[4];
|
||||
|
||||
@@ -144,7 +145,7 @@ void LLTexUnit::activate(void)
|
||||
{
|
||||
if (mIndex < 0) return;
|
||||
|
||||
if (gGL.mCurrTextureUnitIndex != mIndex || gGL.mDirty)
|
||||
if ((S32)gGL.mCurrTextureUnitIndex != mIndex || gGL.mDirty)
|
||||
{
|
||||
glActiveTextureARB(GL_TEXTURE0_ARB + mIndex);
|
||||
gGL.mCurrTextureUnitIndex = mIndex;
|
||||
|
||||
Reference in New Issue
Block a user