Skip to content

Commit

Permalink
Fix rotation crash in debug builds
Browse files Browse the repository at this point in the history
  • Loading branch information
hwsmm committed Feb 12, 2024
1 parent cce5fee commit 241d73c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions osu.Framework/Platform/SDL2Window_Windowing.cs
Original file line number Diff line number Diff line change
Expand Up @@ -524,6 +524,7 @@ private void handleWindowEvent(SDL.SDL_WindowEvent evtWindow)
case SDL.SDL_WindowEventID.SDL_WINDOWEVENT_FOCUS_LOST:
case SDL.SDL_WindowEventID.SDL_WINDOWEVENT_SHOWN:
case SDL.SDL_WindowEventID.SDL_WINDOWEVENT_HIDDEN:
case SDL.SDL_WindowEventID.SDL_WINDOWEVENT_SIZE_CHANGED when RuntimeInfo.IsMobile:
fetchDisplays();
break;
}
Expand Down

0 comments on commit 241d73c

Please sign in to comment.