summaryrefslogtreecommitdiff
path: root/src/fontcache.h
diff options
context:
space:
mode:
authorPatric Stout <truebrain@openttd.org>2021-02-17 14:06:12 +0100
committerGitHub <noreply@github.com>2021-02-17 14:06:12 +0100
commit6de188d0251da7bc7aa7f67bbc81cf87d0a7e78f (patch)
treecb7d03c8f099feb6287538a472c8f98407c3e6ec /src/fontcache.h
parent7bdb2e79ed0c15d6d587fd170190890f5b9fdbb3 (diff)
downloadopenttd-6de188d0251da7bc7aa7f67bbc81cf87d0a7e78f.tar.xz
Fix 52317bb7: [SDL2] ensure we don't try to blit out of bounds (#8684)
During resizing, there can still be dirty-rects ready to blit based on the old dimensions. X11 with shared memory enabled crashes if you try to do this. So, instead, if we resize, reset the dirty-rects. This is fine, as moments later we mark the whole (new) screen as dirty anyway.
Diffstat (limited to 'src/fontcache.h')
0 files changed, 0 insertions, 0 deletions