summaryrefslogtreecommitdiff
path: root/src/render
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2018-11-05 01:09:30 +0300
committerAndrei Karas <akaras@inbox.ru>2018-11-05 01:09:30 +0300
commit485e9bb12bf5dda318ac0ccbf1d2a1cd86cf8c70 (patch)
treece74f5a2fb646439cb58c2d85bc67ff29b70dbb7 /src/render
parent33f4a30373c8978d4e4f29422a5b0132fd14a0ec (diff)
downloadplus-485e9bb12bf5dda318ac0ccbf1d2a1cd86cf8c70.tar.gz
plus-485e9bb12bf5dda318ac0ccbf1d2a1cd86cf8c70.tar.bz2
plus-485e9bb12bf5dda318ac0ccbf1d2a1cd86cf8c70.tar.xz
plus-485e9bb12bf5dda318ac0ccbf1d2a1cd86cf8c70.zip
Fix code style.
Diffstat (limited to 'src/render')
-rw-r--r--src/render/sdlgraphics.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/render/sdlgraphics.cpp b/src/render/sdlgraphics.cpp
index ad7ea9fcd..c1d0846b1 100644
--- a/src/render/sdlgraphics.cpp
+++ b/src/render/sdlgraphics.cpp
@@ -839,7 +839,10 @@ int SDLGraphics::SDL_FakeUpperBlit(const SDL_Surface *restrict const src,
const SDL_Surface *restrict const dst,
SDL_Rect *restrict dstrect) const restrict2
{
- int srcx, srcy, w, h;
+ int srcx;
+ int srcy;
+ int w;
+ int h;
// Make sure the surfaces aren't locked
if ((src == nullptr) || (dst == nullptr))