diff --git a/Source/OpenTK/Configuration.cs b/Source/OpenTK/Configuration.cs index b96b8c76..98aad59d 100644 --- a/Source/OpenTK/Configuration.cs +++ b/Source/OpenTK/Configuration.cs @@ -306,7 +306,8 @@ namespace OpenTK { RunningOnSdl2 = DetectSdl2(); } - else if (runningOnLinux || options.Backend == PlatformBackend.PreferX11) + + if (runningOnLinux || options.Backend == PlatformBackend.PreferX11) { runningOnX11 = DetectX11(); }