Archived
1
Fork 0

Fix debug asset paths not appearing correctly on Windows

This commit is contained in:
redstrate 2021-04-19 12:38:33 -04:00
parent 4b9754fa03
commit 59ee7faddd

View file

@ -34,7 +34,7 @@ void draw_asset() {
for(auto& [path, block] : assetm->reference_blocks) { for(auto& [path, block] : assetm->reference_blocks) {
ImGui::PushID(&block); 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)); ImGui::PushStyleColor(ImGuiCol_Button, (ImVec4)ImColor(200, 0, 0));