Fix GCC compiler error under wsl ubuntu

This commit is contained in:
Lurs
2026-04-13 12:29:40 +02:00
parent c6fd502d01
commit 299503a5aa
+1 -1
View File
@@ -60,7 +60,7 @@ inline ImFont* CreateFont(float size, const std::string& fontPath, std::string_v
void ImGuiEngine_Initialize(float scale) {
// Round font scale to nearest integer
scale = std::ceilf(scale);
scale = std::ceil(scale);
ImGui::GetCurrentContext();
ImGuiIO& io = ImGui::GetIO();