From e8a4c23ce560dad786922e8d51496da2687e1723 Mon Sep 17 00:00:00 2001 From: Sylvain Date: Tue, 18 Oct 2022 10:45:01 +0200 Subject: [PATCH] Revert commit 790fa3156cfee847a7c0b34986de0cd7fdd7438f. SDL_BLENDMODE_INVALID case is probably used for custom blendmode --- src/render/SDL_render.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/render/SDL_render.c b/src/render/SDL_render.c index 041845209..7dd19858a 100644 --- a/src/render/SDL_render.c +++ b/src/render/SDL_render.c @@ -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); }