ougge/src/gui/ErrorWindow.cpp
2025-05-19 03:37:02 +05:00

12 lines
224 B
C++

#include "gui.hpp"
namespace ougge::gui {
void drawErrorWindow(const std::string& msg, bool* draw_error_window){
ImGui::Begin("ERROR", draw_error_window);
ImGui::Text("%s", msg.c_str());
ImGui::End();
}
}