SDL_BLENDMODE_INVALID case is probably used for custom blendmode
This commit is contained in:
Sylvain 2022-10-18 10:45:01 +02:00
parent 790fa3156c
commit e8a4c23ce5
No known key found for this signature in database
GPG Key ID: 5F87E02E5BC0939E
1 changed files with 0 additions and 3 deletions

View File

@ -1206,9 +1206,6 @@ IsSupportedBlendMode(SDL_Renderer * renderer, SDL_BlendMode blendMode)
case SDL_BLENDMODE_MUL:
return SDL_TRUE;
case SDL_BLENDMODE_INVALID:
return SDL_FALSE;
default:
return renderer->SupportsBlendMode && renderer->SupportsBlendMode(renderer, blendMode);
}