[Ohrrpgce] SVN: teeemcee/12421 Fix uninitialised gfx_init, gfx_set_window_size ptrs when switching gfx

subversion at HamsterRepublic.com subversion at HamsterRepublic.com
Sun Sep 12 00:45:15 PDT 2021


teeemcee
2021-09-12 00:45:12 -0700 (Sun, 12 Sep 2021)
349
Fix uninitialised gfx_init, gfx_set_window_size ptrs when switching gfx backends

If you switched to gfx_directx from any other backend but its gfx_Initialize
failed, gfx_init for the previous backend got called, and no working backend
was loaded!

If you switched from gfx_sdl2 to any other backend, gfx_sdl2_set_window_size
would still get called!
---
U   wip/backends.bas



More information about the Ohrrpgce mailing list