Implemented RunningOnLinux.
This commit is contained in:
parent
0dea16ebf8
commit
4a9783c668
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