diff options
Diffstat (limited to 'src/ui')
-rw-r--r-- | src/ui/window.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/ui/window.c b/src/ui/window.c index 8ebb67a8..a7ec37dd 100644 --- a/src/ui/window.c +++ b/src/ui/window.c | |||
@@ -636,6 +636,11 @@ iBool processEvent_Window(iWindow *d, const SDL_Event *ev) { | |||
636 | case SDL_WINDOWEVENT: { | 636 | case SDL_WINDOWEVENT: { |
637 | return handleWindowEvent_Window_(d, &ev->window); | 637 | return handleWindowEvent_Window_(d, &ev->window); |
638 | } | 638 | } |
639 | case SDL_RENDER_TARGETS_RESET: | ||
640 | case SDL_RENDER_DEVICE_RESET: { | ||
641 | resetFonts_Text(); | ||
642 | break; | ||
643 | } | ||
639 | default: { | 644 | default: { |
640 | SDL_Event event = *ev; | 645 | SDL_Event event = *ev; |
641 | if (event.type == SDL_USEREVENT && isCommand_UserEvent(ev, "window.unfreeze")) { | 646 | if (event.type == SDL_USEREVENT && isCommand_UserEvent(ev, "window.unfreeze")) { |