diff options
author | Patric Stout <truebrain@openttd.org> | 2021-02-17 14:06:12 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-02-17 14:06:12 +0100 |
commit | 6de188d0251da7bc7aa7f67bbc81cf87d0a7e78f (patch) | |
tree | cb7d03c8f099feb6287538a472c8f98407c3e6ec /src/rev.h | |
parent | 7bdb2e79ed0c15d6d587fd170190890f5b9fdbb3 (diff) | |
download | openttd-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/rev.h')
0 files changed, 0 insertions, 0 deletions