SDL full screen and Mac Game Center

Hi there,

There is an issue with SDL 2.0 andA Mac Game Center.
Eg, if you want to pop up the achievement window it works fine in window
mode but when we go full screen things go bad.
Even the SDL_WINDOW_FULLSCREEN_DESKTOP full screen.
SDL tries to minimize the window and if we maximize it again the game
center graphics are not updated and seem stuck.

Game Center in Mac is supported from OSX10.8 and later.
It is a feature that many developers will want to implement and its a
shame to lose full screen ability for this.

Thanks,
Giorgos

Have you tried doing SDL_SetHint(SDL_HINT_VIDEO_MINIMIZE_ON_FOCUS_LOSS, “0”) in OS X builds of your game?On 2013-08-03, at 5:11 AM, Giorgos Sarris wrote:

Hi there,

There is an issue with SDL 2.0 and Mac Game Center.
Eg, if you want to pop up the achievement window it works fine in window mode but when we go full screen things go bad.
Even the SDL_WINDOW_FULLSCREEN_DESKTOP full screen.
SDL tries to minimize the window and if we maximize it again the game center graphics are not updated and seem stuck.

Game Center in Mac is supported from OSX10.8 and later.
It is a feature that many developers will want to implement and its a shame to lose full screen ability for this.

Thanks,
Giorgos


SDL mailing list
SDL at lists.libsdl.org
http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org