Merge commit '790fa3156cfee847a7c0b34986de0cd7fdd7438f' into main

This commit is contained in:
Sam Lantinga 2022-10-18 09:21:44 -07:00
commit 8f7577d70a
1 changed files with 3 additions and 0 deletions

View File

@ -1206,6 +1206,9 @@ 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);
}