Enabled printing of OpenGL startup log on all platforms

This commit is contained in:
alexey.lysiuk 2016-04-30 16:28:35 +03:00
parent 461c97d25b
commit 6757447f1b

View file

@ -130,12 +130,9 @@ void OpenGLFrameBuffer::InitializeState()
if (first)
{
first=false;
// [BB] For some reason this crashes, if compiled with MinGW and optimization. Has to be investigated.
#ifdef _MSC_VER
gl_PrintStartupLog();
#endif
}
glClearColor(0.0f, 0.0f, 0.0f, 0.0f);
glClearDepth(1.0f);
glDepthFunc(GL_LESS);