diff --git a/src/render/SDL_render.c b/src/render/SDL_render.c index 942a719f1..71f707c1a 100644 --- a/src/render/SDL_render.c +++ b/src/render/SDL_render.c @@ -2178,7 +2178,7 @@ SDL_BlendOperation SDL_GetBlendModeAlphaOperation(SDL_BlendMode blendMode) { blendMode = SDL_GetLongBlendMode(blendMode); - return (SDL_BlendFactor)(((Uint32)blendMode >> 16) & 0xF); + return (SDL_BlendOperation)(((Uint32)blendMode >> 16) & 0xF); } /* vi: set ts=4 sw=4 expandtab: */