From 58890825b38948a6d5ec96982813f4b6c7b73943 Mon Sep 17 00:00:00 2001 From: ikpil Date: Tue, 20 Jun 2023 21:13:09 +0900 Subject: [PATCH] Fix issue with inability to locate cimgui in certain environments --- src/DotRecast.Recast.Demo/DotRecast.Recast.Demo.csproj | 3 ++- src/DotRecast.Recast.Demo/RecastDemo.cs | 2 ++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/src/DotRecast.Recast.Demo/DotRecast.Recast.Demo.csproj b/src/DotRecast.Recast.Demo/DotRecast.Recast.Demo.csproj index 101aad5..f43c34a 100644 --- a/src/DotRecast.Recast.Demo/DotRecast.Recast.Demo.csproj +++ b/src/DotRecast.Recast.Demo/DotRecast.Recast.Demo.csproj @@ -7,7 +7,7 @@ - + @@ -15,6 +15,7 @@ + diff --git a/src/DotRecast.Recast.Demo/RecastDemo.cs b/src/DotRecast.Recast.Demo/RecastDemo.cs index f9c3696..6c26ae2 100644 --- a/src/DotRecast.Recast.Demo/RecastDemo.cs +++ b/src/DotRecast.Recast.Demo/RecastDemo.cs @@ -388,8 +388,10 @@ public class RecastDemo var renderGl = _gl.GetStringS(GLEnum.Renderer); var glslString = _gl.GetStringS(GLEnum.ShadingLanguageVersion); + var workingDirectory = Directory.GetCurrentDirectory(); Logger.Information($"working directory - {workingDirectory}"); + Logger.Information($"ImGui.Net version - {ImGui.GetVersion()}"); Logger.Information(vendor); Logger.Information(version); Logger.Information(renderGl);