I thought you meant in gfx_directx (gfx_recenter_window_hint isn't implemented in it), but I see it doesn't work with gfx_sdl on Windows either. Some fiddling around reveals that under Windows, SDL_SetVideoMode only repositions the window when something, eg. window size, is changed from the previous settings.
On 27 February 2016 at 09:20, James Paige <[email protected]> wrote: > Actually, I take that back... this only seems to fix the bug on Linux, not > on Windows > > > On Fri, Feb 26, 2016 at 12:18 PM, <[email protected]> wrote: >> >> james >> 2016-02-26 12:18:31 -0800 (Fri, 26 Feb 2016) >> 263 >> gfx_recenter_window_hint() was not being called when the window was >> scaled, only when the game had a resolution other than 320x200 >> Fixed the bug where for most games, the window was being centered at 50% >> and then resized to 80% without moving the top left corner >> --- >> U wip/yetmore2.bas >> _______________________________________________ >> Ohrrpgce mailing list >> [email protected] >> http://lists.motherhamster.org/listinfo.cgi/ohrrpgce-motherhamster.org > > > > _______________________________________________ > Ohrrpgce mailing list > [email protected] > http://lists.motherhamster.org/listinfo.cgi/ohrrpgce-motherhamster.org > _______________________________________________ Ohrrpgce mailing list [email protected] http://lists.motherhamster.org/listinfo.cgi/ohrrpgce-motherhamster.org
