not a null texture anymore

This commit is contained in:
Glenn Maynard
2005-07-07 11:00:45 +00:00
parent fd65e21fd7
commit fcbd6dda76
+4 -2
View File
@@ -184,8 +184,10 @@ void GraphDisplay::DrawPrimitives()
DISPLAY->ClearAllTextures();
DISPLAY->SetTexture( 0, m_pTexture );
// don't bother setting texture render states for a null texture
//Actor::SetTextureRenderStates();
// Must call this after setting the texture or else texture
// parameters have no effect.
Actor::SetTextureRenderStates();
DISPLAY->DrawQuads( m_Slices, ARRAYSIZE(m_Slices) );
DISPLAY->SetTexture( 0, NULL );