Skip to content

Commit

Permalink
[window] fixed an issue where window resizing would happen twice
Browse files Browse the repository at this point in the history
  • Loading branch information
PanosK92 committed Feb 13, 2025
1 parent bea1053 commit 47f102f
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions runtime/Core/Window.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -180,9 +180,6 @@ namespace spartan
SP_FIRE_EVENT(EventType::WindowResized);
break;
case SDL_EVENT_WINDOW_PIXEL_SIZE_CHANGED:
width = static_cast<uint32_t>(sdl_event.window.data1);
height = static_cast<uint32_t>(sdl_event.window.data2);
SP_FIRE_EVENT(EventType::WindowResized);
break;
case SDL_EVENT_WINDOW_MINIMIZED:
break;
Expand Down

0 comments on commit 47f102f

Please sign in to comment.