Added debug message for the detected configuration.

This commit is contained in:
the_fiddler 2009-02-12 22:51:42 +00:00
parent 522d1d17dc
commit 9857e2f13c

View file

@ -62,6 +62,10 @@ namespace OpenTK
Type t = Type.GetType("Mono.Runtime");
if (t != null)
runningOnMono = true;
Debug.Print("Detected configuration: {0} / {1}",
RunningOnWindows ? "Windows" : RunningOnLinux ? "Linux" : RunningOnOSX ? "MacOS" : RunningOnX11 ? "X11" : "Unknown Platform",
RunningOnMono ? "Mono" : ".Net");
}
#endregion