From 2576c4a87a1579e818879f2778e4639f3ebd838d Mon Sep 17 00:00:00 2001 From: Chris Danford Date: Tue, 26 Apr 2005 20:44:58 +0000 Subject: [PATCH] hack to get scrolling coords and env mapping working at the same time --- stepmania/src/Model.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/stepmania/src/Model.cpp b/stepmania/src/Model.cpp index 7d7c5e7739..a01a74a66a 100644 --- a/stepmania/src/Model.cpp +++ b/stepmania/src/Model.cpp @@ -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 */