diff options
author | TechGeekNZ <git@tech.geek.nz> | 2020-06-04 18:23:57 +1200 |
---|---|---|
committer | Charles Pigott <charlespigott@googlemail.com> | 2020-06-04 09:05:21 +0100 |
commit | cdd2892c49f0fa7b6a197a463cfa84ba0edcb20d (patch) | |
tree | d8b76fe7aa7f6b705f71780366ebb289566076d3 /src/video/sdl2_v.cpp | |
parent | 1507902d0083b4983d59efdd3859dde0a9b19fa3 (diff) | |
download | openttd-cdd2892c49f0fa7b6a197a463cfa84ba0edcb20d.tar.xz |
Codechange: Realign SDL driver with SDL2 driver to ease maintenance and emphasise differences.
Diffstat (limited to 'src/video/sdl2_v.cpp')
-rw-r--r-- | src/video/sdl2_v.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/video/sdl2_v.cpp b/src/video/sdl2_v.cpp index 0442a0e87..0dff1af4c 100644 --- a/src/video/sdl2_v.cpp +++ b/src/video/sdl2_v.cpp @@ -170,9 +170,7 @@ static void DrawSurfaceToScreen() } else { if (_sdl_surface != _sdl_realscreen) { for (int i = 0; i < n; i++) { - SDL_BlitSurface( - _sdl_surface, &_dirty_rects[i], - _sdl_realscreen, &_dirty_rects[i]); + SDL_BlitSurface(_sdl_surface, &_dirty_rects[i], _sdl_realscreen, &_dirty_rects[i]); } } |