diff options
Diffstat (limited to 'src/render/surfacegraphics.cpp')
-rw-r--r-- | src/render/surfacegraphics.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/render/surfacegraphics.cpp b/src/render/surfacegraphics.cpp index c74351b92..e94aba5a5 100644 --- a/src/render/surfacegraphics.cpp +++ b/src/render/surfacegraphics.cpp @@ -29,7 +29,7 @@ SurfaceGraphics::SurfaceGraphics() : Graphics(), - mBlitMode(BLIT_NORMAL), + mBlitMode(BlitMode::BLIT_NORMAL), mTarget(nullptr) { mOpenGL = RENDER_SOFTWARE; @@ -61,7 +61,7 @@ void SurfaceGraphics::drawImage(const Image *const image, #ifdef USE_SDL2 SDL_BlitSurface(image->mSDLSurface, &srcRect, mTarget, &dstRect); #else - if (mBlitMode == BLIT_NORMAL) + if (mBlitMode == BlitMode::BLIT_NORMAL) { SDL_BlitSurface(image->mSDLSurface, &srcRect, mTarget, &dstRect); } @@ -121,7 +121,7 @@ void SurfaceGraphics::drawImageCached(const Image *const image, #ifdef USE_SDL2 SDL_BlitSurface(image->mSDLSurface, &srcRect, mTarget, &dstRect); #else - if (mBlitMode == BLIT_NORMAL) + if (mBlitMode == BlitMode::BLIT_NORMAL) { SDL_BlitSurface(image->mSDLSurface, &srcRect, mTarget, &dstRect); } |