Skip to content

Commit

Permalink
fix msvc warning
Browse files Browse the repository at this point in the history
  • Loading branch information
sthalik committed Aug 31, 2023
1 parent cf2e18f commit eda27f0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion editor/imgui.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -273,7 +273,7 @@ void app::draw_lightmap_test(float main_menu_height)

auto dpi = M->dpi_scale();
auto win_size = M->window_size();
auto window_pos = ImVec2(win_size.x() - 512, (main_menu_height + 1) * dpi.y());
auto window_pos = ImVec2((float)win_size.x() - 512, (main_menu_height + 1) * dpi.y());

auto& shader = M->lightmap_shader();
bool is_open = true;
Expand Down

0 comments on commit eda27f0

Please sign in to comment.