fix Model doesn't obey m_bTextureWrapping

This commit is contained in:
Chris Danford
2005-02-27 08:31:41 +00:00
parent 8c31d9cdd9
commit 4a2499b0fb
6 changed files with 26 additions and 9 deletions
+4 -1
View File
@@ -123,9 +123,12 @@ void GraphDisplay::Update( float fDeltaTime )
void GraphDisplay::DrawPrimitives()
{
Actor::SetGlobalRenderStates(); // set Actor-specified render states
DISPLAY->ClearAllTextures();
DISPLAY->SetTexture( 0, m_pTexture );
Actor::SetRenderStates(); // set Actor-specified render states
// don't bother setting texture render states for a null texture
//Actor::SetTextureRenderStates();
DISPLAY->DrawQuads( Slices, ARRAYSIZE(Slices) );
DISPLAY->SetTexture( 0, NULL );