Not logged inGosu Forums
Forum back to libgosu.org Help Search Register Login
Up Topic Gosu / Gosu Exchange / Allow SW fullscreen mode ?
- - By joanbm Date 2016-08-30 15:09
Hi,

fought recently an issue Gosu ignores window dimensions passed in an initializer (Gosu::Window#initialize).
On some systems there are either quirks with hw fullscreen modes or windowed mode is just desirable (managed like other standard windows, on par or better performance etc).

I'm just suggesting add an option to force use width and height arguments and not attempt query WM for available sizes.

In other words, adding an option to skip following condition:

https://github.com/gosu/gosu/blob/d6afb8b1fe0670690cf3694666a467b61f977500/src/Window.cpp#L115
Parent - By jlnr (dev) Date 2016-08-31 19:40
Sorry about that. Automatically downscaling the window has caused all sorts of confusion, and I'm not sure if it's even necessary anymore. I added it as a hotfix for some version of Windows, where windows larger than the desktop were completely unusable (Windows always force-minimised them).

I've created an enhancement ticket here: https://github.com/gosu/gosu/issues/341

Also, Gosu 0.8+ should use software fullscreen (like video players...), does it not work for you? Which version of SDL 2 are you using?
Up Topic Gosu / Gosu Exchange / Allow SW fullscreen mode ?

Powered by mwForum 2.29.7 © 1999-2015 Markus Wichitill