Disable setting texture states, leave a comment.

This commit is contained in:
Colby Klein
2011-03-08 10:58:35 -08:00
parent ec00ac74ee
commit bcd87f8c17
+4 -2
View File
@@ -343,11 +343,13 @@ void BitmapText::DrawChars( bool bUseStrokeTexture )
else
DISPLAY->SetTexture( TextureUnit_1, m_vpFontPageTextures[start]->m_pTextureMain->GetTexHandle() );
/* Don't bother setting texture render states for text. We never go outside of 0..1. */
// Don't bother setting texture render states for text. We never go outside of 0..1.
/* We should call SetTextureRenderStates because it does more than just setting
* the texture wrapping state. If setting the wrapping state is found to be slow,
* there should probably be a "don't care" texture wrapping mode set in Actor. -Chris */
Actor::SetTextureRenderStates();
// This is SLOW. We need to do something else about this. -Colby
//Actor::SetTextureRenderStates();
DISPLAY->DrawQuads( &m_aVertices[start*4], (end-start)*4);
}