Codechange: [SDL2] Move SDLSurface code to its own function
commit0d58bc9384cbe95b696e852dbc47c4deaca6a025
authorPatric Stout <truebrain@openttd.org>
Thu, 11 Feb 2021 08:34:10 +0000 (11 09:34 +0100)
committerMichael Lutz <michi@icosahedron.de>
Mon, 22 Feb 2021 21:16:07 +0000 (22 22:16 +0100)
treeaff9bd7e0bee10f4352024ff22e204c34dcbda37
parent6098811b493c205797d7745e70db1e6f07879f72
Codechange: [SDL2] Move SDLSurface code to its own function

This increases readability, and allow future subdrivers to not
use SDLSurface to draw.
src/video/sdl2_v.cpp
src/video/sdl2_v.h