SDL_SetRenderDrawBlendMode(): Remove redundant param check

This commit is contained in:
Petar Popovic authored and Frank Praznik committed 2025-08-08 14:05:33 -04:00
1 parent 7252633345
commit b63c32e790
1 file changed
-4
-4
View File
@@ -3366,10 +3366,6 @@ bool SDL_SetRenderDrawBlendMode(SDL_Renderer *renderer, SDL_BlendMode blendMode)
return SDL_InvalidParamError("blendMode");
}
if (blendMode == SDL_BLENDMODE_INVALID) {
return SDL_InvalidParamError("blendMode");
}
if (!IsSupportedBlendMode(renderer, blendMode)) {
return SDL_Unsupported();
}