diff options
author | Jaakko Keränen <jaakko.keranen@iki.fi> | 2021-07-31 08:21:07 +0300 |
---|---|---|
committer | Jaakko Keränen <jaakko.keranen@iki.fi> | 2021-07-31 08:21:12 +0300 |
commit | 28ab71b8533afea235ade9e746ebf380f1d92180 (patch) | |
tree | 4e52c4c433b8260da7088c1d0b6b0127bf89277e /src/ui/window.c | |
parent | 6dce991138050e30b4e2d4ef6195c94b8004e4e0 (diff) |
Window: Fonts reinit after render device/targets reset
Diffstat (limited to 'src/ui/window.c')
-rw-r--r-- | src/ui/window.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ui/window.c b/src/ui/window.c index 4bf42a30..c27053c2 100644 --- a/src/ui/window.c +++ b/src/ui/window.c | |||
@@ -816,7 +816,7 @@ iBool processEvent_Window(iWindow *d, const SDL_Event *ev) { | |||
816 | } | 816 | } |
817 | case SDL_RENDER_TARGETS_RESET: | 817 | case SDL_RENDER_TARGETS_RESET: |
818 | case SDL_RENDER_DEVICE_RESET: { | 818 | case SDL_RENDER_DEVICE_RESET: { |
819 | invalidate_Window(d); | 819 | invalidate_Window_(d, iTrue /* force full reset */); |
820 | break; | 820 | break; |
821 | } | 821 | } |
822 | default: { | 822 | default: { |