From eb3815e26e3b1a6f81d3346852915600778e596f Mon Sep 17 00:00:00 2001 From: Glenn Maynard Date: Wed, 21 Apr 2004 05:30:23 +0000 Subject: [PATCH] fix stale colors --- stepmania/src/RageDisplay_OGL.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/stepmania/src/RageDisplay_OGL.cpp b/stepmania/src/RageDisplay_OGL.cpp index 26e9c349e3..eeb79bc466 100644 --- a/stepmania/src/RageDisplay_OGL.cpp +++ b/stepmania/src/RageDisplay_OGL.cpp @@ -981,6 +981,7 @@ public: glVertexPointer(3, GL_FLOAT, 0, &m_vPosition[0]); glDisableClientState(GL_COLOR_ARRAY); + glColor4f(1,1,1,1); glEnableClientState(GL_TEXTURE_COORD_ARRAY); glTexCoordPointer(2, GL_FLOAT, 0, &m_vTexture[0]); @@ -1188,6 +1189,7 @@ void RageCompiledGeometryHWOGL::Draw( int iMeshIndex ) const AssertNoGLError(); glDisableClientState(GL_COLOR_ARRAY); + glColor4f(1,1,1,1); glEnableClientState(GL_TEXTURE_COORD_ARRAY); GLExt::glBindBufferARB( GL_ARRAY_BUFFER_ARB, m_nTextureCoords );