From 73effc70bb78f10657370b9fccd20bd05bf052d6 Mon Sep 17 00:00:00 2001 From: Magnus Norddahl Date: Fri, 7 Apr 2017 15:45:08 +0200 Subject: [PATCH] - 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. --- src/gl/system/gl_swframebuffer.cpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/gl/system/gl_swframebuffer.cpp b/src/gl/system/gl_swframebuffer.cpp index c391c4930..15cabc68e 100644 --- a/src/gl/system/gl_swframebuffer.cpp +++ b/src/gl/system/gl_swframebuffer.cpp @@ -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) {