From 59ee7faddd39d239563286313edcfb1fa4575c49 Mon Sep 17 00:00:00 2001 From: redstrate <54911369+redstrate@users.noreply.github.com> Date: Mon, 19 Apr 2021 12:38:33 -0400 Subject: [PATCH] Fix debug asset paths not appearing correctly on Windows --- engine/core/src/debug.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/engine/core/src/debug.cpp b/engine/core/src/debug.cpp index 9533e3f..d21bdec 100644 --- a/engine/core/src/debug.cpp +++ b/engine/core/src/debug.cpp @@ -34,7 +34,7 @@ void draw_asset() { for(auto& [path, block] : assetm->reference_blocks) { ImGui::PushID(&block); - ImGui::Text("- %s has %llu reference(s)", path.c_str(), block->references); + ImGui::Text("- %s has %llu reference(s)", path.string().c_str(), block->references); ImGui::PushStyleColor(ImGuiCol_Button, (ImVec4)ImColor(200, 0, 0));