summaryrefslogtreecommitdiff
path: root/src/console.cpp
diff options
context:
space:
mode:
authorPatric Stout <truebrain@openttd.org>2021-01-16 16:27:50 +0100
committerMichael Lutz <michi@icosahedron.de>2021-01-17 19:57:36 +0100
commit1eceee915ede04301c411bb0465c32a3712aa0d2 (patch)
tree5814ff3bdf8f6a6511868ad5f206783e4efcf9b9 /src/console.cpp
parent49df9c415595a7aa104ff5463372118ec874a4c2 (diff)
downloadopenttd-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 'src/console.cpp')
0 files changed, 0 insertions, 0 deletions