diff options
author | Patric Stout <truebrain@openttd.org> | 2021-01-16 16:27:50 +0100 |
---|---|---|
committer | Michael Lutz <michi@icosahedron.de> | 2021-01-17 19:57:36 +0100 |
commit | 1eceee915ede04301c411bb0465c32a3712aa0d2 (patch) | |
tree | 5814ff3bdf8f6a6511868ad5f206783e4efcf9b9 /.github/workflows | |
parent | 49df9c415595a7aa104ff5463372118ec874a4c2 (diff) | |
download | openttd-1eceee915ede04301c411bb0465c32a3712aa0d2.tar.xz |
Codechange: [SDL2/Win32] Be consistent how 0bpp blitters are not allowed
Sometimes it returned an usererror(), sometimes Start() failed.
Now it always fails on Start(), so nothing else has to check again
what blitter is used.
AfterBlitterChange() can never change to a 0bpp, so it is sufficient
to guard this with an assert().
Diffstat (limited to '.github/workflows')
0 files changed, 0 insertions, 0 deletions