Should be called on game start to initialize the extension.
Returns whether succeeded (fails if the DLL is missing).
Returns whether the fix is currently enabled (is enabled by default by window_resize_fix_init).
Enables/disables the extension.
There is no particular reason to call this outside of comparing the behaviour.
Changes what will be drawn in the game window while it is being resized.
Supported values are:
- window_resize_fix_mode_copy:
Displays a copy of the last game frame in top-left corner.
This can be preferable for software. - window_resize_fix_mode_stretch_aspect:
Stretches a copy of the last frame while adjusting it for the game's aspect ratio. This is the default; set your aspect ratio using window_resize_fix_set_aspect_ratio. - window_resize_fix_mode_stretch_full:
Stretches a copy of the last frame to cover the entire window.
This can be preferable for 3d games.
Sets game dimensions for use with window_resize_fix_mode_stretch_aspect.
This is cheap enough to be called every frame.