Skip to content
Snippets Groups Projects
Commit a194a157 authored by Deucе's avatar Deucе :ok_hand_tone4:
Browse files

Various SDL fixes:

Pass window size in SDL_USEREVENT_SETVIDMODE
- Fixes race condition where SDL_WINDOWEVENT_RESIZED or
  SDL_WINDOWEVENT_SIZE_CHANGED arraves while
  SDL_USEREVENT_SETVIDMODE is in the queue

Set new scaling based on old scaling multiplier
- Will resize window on mode changes, but tries to keep integer
  multiplier similar.  May break fullscreen modes, dunno.

Have aspect_fix() return higher rather than lower
- This may make it the same as aspect_correct(), but I'm too lazy
  to figure that out.
parent 27c4296c
Branches
Tags
1 merge request!463MRC mods by Codefenix (2024-10-20)
Pipeline #3493 failed
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment