Fixed some compiler warnings that were being treated as errors

This commit is contained in:
Graham Pentheny
2025-08-21 21:22:44 -04:00
parent 182b9b7729
commit f9b39663c9
3 changed files with 5 additions and 5 deletions

View File

@@ -187,10 +187,10 @@ struct AppData
void UpdateUIScale()
{
ImGuiIO& io = ImGui::GetIO();
io.DisplaySize = ImVec2(width, height);
io.DisplaySize = ImVec2(static_cast<float>(width), static_cast<float>(height));
io.DisplayFramebufferScale = ImVec2(
static_cast<float>(drawableWidth) / width,
static_cast<float>(drawableHeight) / height);
static_cast<float>(drawableWidth) / static_cast<float>(width),
static_cast<float>(drawableHeight) / static_cast<float>(height));
}
};