add TextureUnit param to SetTextureWrapping

This commit is contained in:
Glenn Maynard
2007-02-13 05:56:24 +00:00
parent 863062f7d1
commit a9fd52cce0
8 changed files with 19 additions and 12 deletions
+1 -1
View File
@@ -470,7 +470,7 @@ void NoteDisplay::DrawHoldPart( vector<Sprite*> &vpSpr, int iCol, int fYStep, fl
DISPLAY->SetTexture( TextureUnit_1, pTexture->GetTexHandle() );
DISPLAY->SetBlendMode( spr == vpSpr.begin() ? BLEND_NORMAL : BLEND_ADD );
DISPLAY->SetCullMode( CULL_NONE );
DISPLAY->SetTextureWrapping( bWrapping );
DISPLAY->SetTextureWrapping( TextureUnit_1, bWrapping );
queue.Draw();
}
}