mirror of
https://github.com/recastnavigation/recastnavigation.git
synced 2026-10-12 11:55:38 +00:00
Fixed some compiler warnings that were being treated as errors
This commit is contained in:
@@ -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));
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user