mirror of
https://github.com/Ryujinx/Opentk.git
synced 2025-07-07 17:10:33 +00:00
Added debug message for the detected configuration.
This commit is contained in:
parent
522d1d17dc
commit
9857e2f13c
|
@ -62,6 +62,10 @@ namespace OpenTK
|
||||||
Type t = Type.GetType("Mono.Runtime");
|
Type t = Type.GetType("Mono.Runtime");
|
||||||
if (t != null)
|
if (t != null)
|
||||||
runningOnMono = true;
|
runningOnMono = true;
|
||||||
|
|
||||||
|
Debug.Print("Detected configuration: {0} / {1}",
|
||||||
|
RunningOnWindows ? "Windows" : RunningOnLinux ? "Linux" : RunningOnOSX ? "MacOS" : RunningOnX11 ? "X11" : "Unknown Platform",
|
||||||
|
RunningOnMono ? "Mono" : ".Net");
|
||||||
}
|
}
|
||||||
|
|
||||||
#endregion
|
#endregion
|
||||||
|
|
Loading…
Reference in a new issue