- The legacy OpenGL path resets the GLSL version, which in turn makes #version 0 crash the AMD driver. Old stuff that uses the legacy path will not get glswfb acceleration.

This commit is contained in:
Magnus Norddahl 2017-04-07 15:45:08 +02:00
parent 35c35fc26f
commit 73effc70bb

View file

@ -214,6 +214,11 @@ OpenGLSWFrameBuffer::OpenGLSWFrameBuffer(void *hMonitor, int width, int height,
return;
}
gl_LoadExtensions();
if (gl.legacyMode)
{
Printf("Legacy OpenGL path is active. No Acceleration will be used.\n");
return;
}
InitializeState();
if (first)
{