Fix for issue #16 "X11 misreported as unsupported platform"

This commit is contained in:
parallels 2013-12-08 12:38:06 +01:00
parent 8d7ba31e0c
commit b977ff13bb

View file

@ -306,7 +306,8 @@ namespace OpenTK
{ {
RunningOnSdl2 = DetectSdl2(); RunningOnSdl2 = DetectSdl2();
} }
else if (runningOnLinux || options.Backend == PlatformBackend.PreferX11)
if (runningOnLinux || options.Backend == PlatformBackend.PreferX11)
{ {
runningOnX11 = DetectX11(); runningOnX11 = DetectX11();
} }