Fixed build warning
This commit is contained in:
parent
8109ab9485
commit
5f531376c2
1 changed files with 1 additions and 1 deletions
|
@ -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: */
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue