diff --git a/stepmania/src/RageDisplay_OGL.cpp b/stepmania/src/RageDisplay_OGL.cpp index f6c8e62ff2..38866d9c47 100644 --- a/stepmania/src/RageDisplay_OGL.cpp +++ b/stepmania/src/RageDisplay_OGL.cpp @@ -1035,7 +1035,13 @@ void RageDisplay_OGL::DeleteTexture( unsigned uTexHandle ) glDeleteTextures(1,reinterpret_cast(&uTexID)); GLenum error = glGetError(); - ASSERT( error == GL_NO_ERROR ); + if( error != GL_NO_ERROR ) + { + ostringstream s; + s << "glDeleteTextures(): " << GLToString(error); + LOG->Trace( s.str().c_str() ); + ASSERT(0); + } }