forked from mirror/DotRecast
add os bit log
This commit is contained in:
parent
0284ce3d7e
commit
c353672a09
|
@ -397,20 +397,19 @@ public class RecastDemo : IRecastDemoChannel
|
||||||
|
|
||||||
var vendor = _gl.GetStringS(GLEnum.Vendor);
|
var vendor = _gl.GetStringS(GLEnum.Vendor);
|
||||||
var version = _gl.GetStringS(GLEnum.Version);
|
var version = _gl.GetStringS(GLEnum.Version);
|
||||||
var renderGl = _gl.GetStringS(GLEnum.Renderer);
|
var rendererGl = _gl.GetStringS(GLEnum.Renderer);
|
||||||
var glslString = _gl.GetStringS(GLEnum.ShadingLanguageVersion);
|
var glslString = _gl.GetStringS(GLEnum.ShadingLanguageVersion);
|
||||||
var currentCulture = CultureInfo.CurrentCulture;
|
var currentCulture = CultureInfo.CurrentCulture;
|
||||||
|
string bitness = Environment.Is64BitOperatingSystem ? "64-bit" : "32-bit";
|
||||||
|
|
||||||
var workingDirectory = Directory.GetCurrentDirectory();
|
var workingDirectory = Directory.GetCurrentDirectory();
|
||||||
Logger.Information($"Working directory - {workingDirectory}");
|
Logger.Information($"Working directory - {workingDirectory}");
|
||||||
Logger.Information($"ImGui.Net version - {ImGui.GetVersion()}");
|
Logger.Information($"ImGui.Net version - {ImGui.GetVersion()}");
|
||||||
Logger.Information($"Culture - {currentCulture.Name}");
|
Logger.Information($"Dotnet - {Environment.Version.ToString()} culture({currentCulture.Name})");
|
||||||
Logger.Information($"Dotnet Version - {Environment.Version.ToString()}");
|
Logger.Information($"OS Version - {Environment.OSVersion} {bitness}");
|
||||||
Logger.Information($"OS Version - {Environment.OSVersion}");
|
Logger.Information($"{vendor} {rendererGl}");
|
||||||
Logger.Information(vendor);
|
Logger.Information($"gl version - {version}");
|
||||||
Logger.Information(version);
|
Logger.Information($"gl lang version - {glslString}");
|
||||||
Logger.Information(renderGl);
|
|
||||||
Logger.Information(glslString);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
private void UpdateKeyboard(float dt)
|
private void UpdateKeyboard(float dt)
|
||||||
|
|
Loading…
Reference in New Issue