[Ohrrpgce] [ohrrpgce/ohrrpgce] gfx_sdl2 doesn't recenter when the window zoom is changed (#1188)

Ralph Versteegen notifications at github.com
Wed Jan 13 14:45:59 PST 2021


kylekrack and Ravancloak complained that unlike gfx_sdl, gfx_sdl2 does not recenter the window when you change its zoom (from F9 or Cmd-1/2/3/4). Instead the top-left corner remains fixed.

This is because `gfx_sdl2_recenter_window_hint` called from `gfx_sdl2_set_window_size` does nothing, because the window isn't recreated, unlike gfx_sdl. Need to manually tell the window to recenter.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/ohrrpgce/ohrrpgce/issues/1188
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.motherhamster.org/pipermail/ohrrpgce-motherhamster.org/attachments/20210113/167331c2/attachment.html>


More information about the Ohrrpgce mailing list