diff options
author | Patric Stout <truebrain@openttd.org> | 2021-02-06 14:09:45 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-02-06 14:09:45 +0100 |
commit | 2c9084d48cf1a3ad3c5f8d3bcad83c396e8d29fd (patch) | |
tree | 9d2a1ba6521d4763e27c63b381ee68232b5c92ed /regression | |
parent | 4f0692c437c7c89b38134255a5b7aea9f0378c19 (diff) | |
download | openttd-2c9084d48cf1a3ad3c5f8d3bcad83c396e8d29fd.tar.xz |
Fix #8029: [SDL2] disable draw-thread on wayland SDL video driver (#8648)
When the wayland SDL video driver is used, an EGL context is
created in the main thread. It is not allowed to update this
context from another thread, which is exactly what our draw-thread
is trying.
The other solution would be to move all of SDL into the
draw-thread, but that would introduce a whole scala of different
problems.
The wayland SDL backend is significantly faster than the
X11 SDL backend, but there is a performance hit nevertheless.
Diffstat (limited to 'regression')
0 files changed, 0 insertions, 0 deletions