[Scummvm-tracker] [ScummVM :: Bugs] #13073: BACKENDS: SDL: Strange initSizeHint() behavior
ScummVM :: Bugs
trac at scummvm.org
Fri Nov 22 01:04:57 UTC 2024
#13073: BACKENDS: SDL: Strange initSizeHint() behavior
-------------------------+---------------------------
Reporter: eriktorbjorn | Owner: (none)
Type: defect | Status: new
Priority: normal | Component: Graphics
Version: | Resolution:
Keywords: | Game: Zork Nemesis
-------------------------+---------------------------
Comment (by criezy):
This sounds like the same issue we saw with OpenGL graphics mode recently
(where games calling `initGraphicsModes()` were started using a 1x scaler,
which for Gobliiins for example means 320x200 (or 320x240 with aspect
ratio correction enabled).
This was fixed in https://github.com/scummvm/scummvm/pull/6254, which has
been merged. Can you check that this fixes your issue as well?
I think the issue when you explicitly set a 2x scaler for the game, with a
4x scaler in global settings should have been fixed as well by
https://github.com/scummvm/scummvm/commit/a14c5a4a53
Before that commit initSizeHint() was getting the scale factor from the
graphics manager, but at that point it had not been updated yet with the
one from the game (since that is updated when the game calls
`initGraphics()` which is done after calling `initGraphicsModes()`. Thus
it was getting the one from the launcher.
However you will have to wait to test this as there is a regression from
two days ago that means scaler (and some other graphics settings) set in
game options are currently ignored.
--
Ticket URL: <https://bugs.scummvm.org/ticket/13073#comment:2>
ScummVM :: Bugs <https://bugs.scummvm.org>
ScummVM
More information about the Scummvm-tracker
mailing list