We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
SDL_HINT_VIDEO_X11_FORCE_EGL
1 parent 89235cc commit dc582a4Copy full SHA for dc582a4
src/BizHawk.Bizware.Graphics/OpenGL/SDL2OpenGLContext.cs
@@ -1,5 +1,7 @@
1
// #define DEBUG_OPENGL
2
3
+using System.IO;
4
+
5
#if DEBUG_OPENGL
6
using System.Runtime.InteropServices;
7
#endif
@@ -31,7 +33,7 @@ static SDL2OpenGLContext()
31
33
// try to use EGL if it is available
32
34
// GLX is the old API, and is the more or less "deprecated" at this point, and potentially more buggy with some drivers
35
// we do need to a bit more work, in case EGL is not actually available or potentially doesn't have desktop GL support
- SDL_SetHint(SDL_HINT_VIDEO_X11_FORCE_EGL, "1");
36
+ if (!Directory.Exists("/nix")/* this is just for me --yoshi */) SDL_SetHint(SDL_HINT_VIDEO_X11_FORCE_EGL, "1");
37
}
38
39
// init SDL video
0 commit comments