diff options
Diffstat (limited to 'src/render')
-rw-r--r-- | src/render/sdl2graphics.h | 2 | ||||
-rw-r--r-- | src/render/sdl2softwaregraphics.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/render/sdl2graphics.h b/src/render/sdl2graphics.h index 15692bca9..9f604d9b5 100644 --- a/src/render/sdl2graphics.h +++ b/src/render/sdl2graphics.h @@ -204,7 +204,7 @@ class SDLGraphics final : public Graphics protected: uint32_t mRendererFlags; uint32_t mOldPixel; - int mOldAlpha; + unsigned int mOldAlpha; private: void inline calcImageRect(ImageVertexes *const vert, diff --git a/src/render/sdl2softwaregraphics.h b/src/render/sdl2softwaregraphics.h index 265c9349d..6ef750dbd 100644 --- a/src/render/sdl2softwaregraphics.h +++ b/src/render/sdl2softwaregraphics.h @@ -173,7 +173,7 @@ class SDL2SoftwareGraphics final : public Graphics uint32_t mRendererFlags; SDL_Surface *mSurface; uint32_t mOldPixel; - int mOldAlpha; + unsigned int mOldAlpha; private: void inline calcImageRect(ImageVertexes *const vert, |