summaryrefslogtreecommitdiff
path: root/src/resources/sdlgfxblitfunc.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/resources/sdlgfxblitfunc.cpp')
-rw-r--r--src/resources/sdlgfxblitfunc.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/resources/sdlgfxblitfunc.cpp b/src/resources/sdlgfxblitfunc.cpp
index 89fe0b21e..e635c20d5 100644
--- a/src/resources/sdlgfxblitfunc.cpp
+++ b/src/resources/sdlgfxblitfunc.cpp
@@ -337,7 +337,7 @@ static void _SDL_gfxBlitBlitterRGBA(SDL_gfxBlitInfo *info)
const int srcskip = info->s_skip;
Uint8 *dst = info->d_pixels;
const int dstskip = info->d_skip;
- SDL_PixelFormat *srcfmt = info->src;
+ const SDL_PixelFormat *const srcfmt = info->src;
while ((height--) != 0)
{