diff --git a/Source/Core/Renderer/ERS_CLASS_VisualRenderer/ERS_CLASS_VisualRenderer.cpp b/Source/Core/Renderer/ERS_CLASS_VisualRenderer/ERS_CLASS_VisualRenderer.cpp index 6eb6ecc10a..074b1a5c71 100644 --- a/Source/Core/Renderer/ERS_CLASS_VisualRenderer/ERS_CLASS_VisualRenderer.cpp +++ b/Source/Core/Renderer/ERS_CLASS_VisualRenderer/ERS_CLASS_VisualRenderer.cpp @@ -1028,13 +1028,13 @@ void ERS_CLASS_VisualRenderer::DrawViewportOverlay(int Index, ERS_CLASS_SceneMan } } - + std::string SceneMessage = std::string("Scene: ") + std::to_string(TotalModels) + std::string(" Models, ") + std::to_string(InstancedModels) + std::string(" Instanced Models, ") + std::to_string(NumVerts) + std::string(" Verts, ") + std::to_string(NumIndices) + std::string(" Indices, ") + std::to_string(NumTextures) + std::string(" Textures"); // add info about number of instanced models vs real ones std::string ResourcesMessage; // Contains info about actual system load (gpu ram, cpu ram, num loaded verts/indexes and num real textures on hardware) std::string LoadingTimeMessage = std::string("Longest Asset Loading Time: ") + std::to_string(LongestLoadingTime) + std::string(" Seconds"); - ImGui::Text(SceneMessage.c_str()); - ImGui::Text(LoadingTimeMessage.c_str()); + ImGui::Text("%s", SceneMessage.c_str()); + ImGui::Text("%s", LoadingTimeMessage.c_str()); }