From 14c9d83b9ac7e29b4dab19e3b5b08012697826cb Mon Sep 17 00:00:00 2001 From: the_fiddler Date: Tue, 18 Nov 2008 12:41:12 +0000 Subject: [PATCH] Implemented RunningOnLinux. --- Source/OpenTK/Configuration.cs | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Source/OpenTK/Configuration.cs b/Source/OpenTK/Configuration.cs index e28948f5..0ee7b6d2 100644 --- a/Source/OpenTK/Configuration.cs +++ b/Source/OpenTK/Configuration.cs @@ -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;