mirror of
https://github.com/ZDoom/gzdoom.git
synced 2024-11-13 07:57:52 +00:00
- 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:
parent
35c35fc26f
commit
73effc70bb
1 changed files with 5 additions and 0 deletions
|
@ -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)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue