Fixed build warning

This commit is contained in:
Sam Lantinga 2017-08-14 20:37:07 -07:00
parent e086a1c183
commit 04e76499ea

View File

@ -2178,7 +2178,7 @@ SDL_BlendOperation
SDL_GetBlendModeAlphaOperation(SDL_BlendMode blendMode) SDL_GetBlendModeAlphaOperation(SDL_BlendMode blendMode)
{ {
blendMode = SDL_GetLongBlendMode(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: */ /* vi: set ts=4 sw=4 expandtab: */