diff --git a/stepmania/src/RageDisplay_OGL.cpp b/stepmania/src/RageDisplay_OGL.cpp index 1a8b1909b9..d9f3df6332 100644 --- a/stepmania/src/RageDisplay_OGL.cpp +++ b/stepmania/src/RageDisplay_OGL.cpp @@ -369,6 +369,7 @@ void InitShaders() // Bind attributes. if( g_bTextureMatrixShader ) { + FlushGLErrors(); g_iAttribTextureMatrixScale = GLExt.glGetAttribLocationARB( g_bTextureMatrixShader, "TextureMatrixScale" ); if( g_iAttribTextureMatrixScale == -1 ) {