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