summaryrefslogtreecommitdiff
path: root/src/render
diff options
context:
space:
mode:
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))