From f2841f784926bb68297c3e73adc3dda4531d8206 Mon Sep 17 00:00:00 2001 From: YoshiRulz Date: Fri, 8 Nov 2024 06:25:36 +1000 Subject: [PATCH] Remove explicit check for NixOS distro which is no longer necessary confirmed fixed by fe500ef61 --- src/BizHawk.Bizware.Graphics/OpenGL/SDL2OpenGLContext.cs | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/BizHawk.Bizware.Graphics/OpenGL/SDL2OpenGLContext.cs b/src/BizHawk.Bizware.Graphics/OpenGL/SDL2OpenGLContext.cs index e80fdc1ce3..2e195f31c0 100644 --- a/src/BizHawk.Bizware.Graphics/OpenGL/SDL2OpenGLContext.cs +++ b/src/BizHawk.Bizware.Graphics/OpenGL/SDL2OpenGLContext.cs @@ -1,7 +1,5 @@ // #define DEBUG_OPENGL -using System.IO; - #if DEBUG_OPENGL using System.Runtime.InteropServices; #endif @@ -33,7 +31,7 @@ namespace BizHawk.Bizware.Graphics // try to use EGL if it is available // GLX is the old API, and is the more or less "deprecated" at this point, and potentially more buggy with some drivers // we do need to a bit more work, in case EGL is not actually available or potentially doesn't have desktop GL support - if (!Directory.Exists("/nix")/* this is just for me --yoshi */) SDL_SetHint(SDL_HINT_VIDEO_X11_FORCE_EGL, "1"); + SDL_SetHint(SDL_HINT_VIDEO_X11_FORCE_EGL, "1"); } // init SDL video