mirror of
https://github.com/tildearrow/furnace.git
synced 2024-11-23 13:05:11 +00:00
GUI: render backend recovery, part 5
This commit is contained in:
parent
7eadc465c2
commit
c49c052ca0
1 changed files with 5 additions and 0 deletions
|
@ -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) {
|
||||
|
|
Loading…
Reference in a new issue