mirror of
https://github.com/Ryujinx/Opentk.git
synced 2024-12-24 16:15:28 +00:00
Implemented RunningOnLinux.
This commit is contained in:
parent
0dea16ebf8
commit
4a9783c668
|
@ -39,10 +39,13 @@ namespace OpenTK
|
||||||
switch (DetectUnixKernel())
|
switch (DetectUnixKernel())
|
||||||
{
|
{
|
||||||
case "Unix":
|
case "Unix":
|
||||||
case "Linux":
|
|
||||||
runningOnX11 = true;
|
runningOnX11 = true;
|
||||||
break;
|
break;
|
||||||
|
|
||||||
|
case "Linux":
|
||||||
|
runningOnLinux = runningOnX11 = true;
|
||||||
|
break;
|
||||||
|
|
||||||
case "Darwin":
|
case "Darwin":
|
||||||
runningOnOSX = true;
|
runningOnOSX = true;
|
||||||
break;
|
break;
|
||||||
|
|
Loading…
Reference in a new issue