- 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
1 changed files with 5 additions and 0 deletions

View File

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