[Scummvm-tracker] [ScummVM :: Bugs] #13454: BACKENDS: MACOSX - alt-enter fullscreen isn't notch-aware.

ScummVM :: Bugs trac at scummvm.org
Wed Apr 27 19:50:13 UTC 2022


#13454: BACKENDS: MACOSX - alt-enter fullscreen isn't notch-aware.
-------------------+-----------------------------
Reporter:  somaen  |       Owner:  (none)
    Type:  defect  |      Status:  new
Priority:  normal  |   Component:  Port: Mac OS X
 Version:          |  Resolution:
Keywords:          |        Game:
-------------------+-----------------------------
Comment (by criezy):

 > And since this only affects the 3D games, I would assume there's some
 detail in that graphics backend that isn't doing the same thing window-
 handling wise as for 2D.

 My guess is that this is related to the 3D graphics backend code using
 `SDL_WINDOW_FULLSCREEN` while the 2D one uses
 `SDL_WINDOW_FULLSCREEN_DESKTOP` to create the window.
 Compare
 https://github.com/scummvm/scummvm/blob/8ea587517e/backends/graphics3d/openglsdl
 /openglsdl-graphics3d.cpp#L488-L501
 to
 https://github.com/scummvm/scummvm/blob/8ea587517e/backends/graphics/openglsdl
 /openglsdl-graphics.cpp#L504-L521
-- 
Ticket URL: <https://bugs.scummvm.org/ticket/13454#comment:1>
ScummVM :: Bugs <https://bugs.scummvm.org>
ScummVM


More information about the Scummvm-tracker mailing list