Implemented RunningOnLinux.
This commit is contained in:
parent
57ff9428d6
commit
14c9d83b9a
1 changed files with 4 additions and 1 deletions
|
@ -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