mirror of https://github.com/encounter/SDL.git
Revert commit 790fa3156c
.
SDL_BLENDMODE_INVALID case is probably used for custom blendmode
This commit is contained in:
parent
790fa3156c
commit
e8a4c23ce5
src/render
|
@ -1206,9 +1206,6 @@ IsSupportedBlendMode(SDL_Renderer * renderer, SDL_BlendMode blendMode)
|
||||||
case SDL_BLENDMODE_MUL:
|
case SDL_BLENDMODE_MUL:
|
||||||
return SDL_TRUE;
|
return SDL_TRUE;
|
||||||
|
|
||||||
case SDL_BLENDMODE_INVALID:
|
|
||||||
return SDL_FALSE;
|
|
||||||
|
|
||||||
default:
|
default:
|
||||||
return renderer->SupportsBlendMode && renderer->SupportsBlendMode(renderer, blendMode);
|
return renderer->SupportsBlendMode && renderer->SupportsBlendMode(renderer, blendMode);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue