hack to get scrolling coords and env mapping working at the same time

This commit is contained in:
Chris Danford
2005-04-26 20:44:58 +00:00
parent d233040ce1
commit 2576c4a87a
+4
View File
@@ -430,6 +430,10 @@ void Model::DrawPrimitives()
else
{
DISPLAY->SetTexture( 1, NULL );
// set current texture back to 0 or else texture transform applied above
// isn't used. Why?!?
DISPLAY->SetTexture( 0, mat.diffuse.GetCurrentTexture() );
}
/* go */