GUI: render backend recovery, part 5

This commit is contained in:
tildearrow 2023-07-02 05:41:51 -05:00
parent 7eadc465c2
commit c49c052ca0

View file

@ -3462,6 +3462,11 @@ bool FurnaceGUI::loop() {
break;
}
break;
#if SDL_VERSION_ATLEAST(2,0,4)
case SDL_RENDER_DEVICE_RESET:
killGraphics=true;
break;
#endif
#if SDL_VERSION_ATLEAST(2,0,17)
case SDL_DISPLAYEVENT: {
switch (ev.display.event) {