Commit 86695af4832df1a1b6efb16b1f58b4bb77886dc6

Sam Lantinga 2022-10-18T09:21:46

Merge commit 'e8a4c23ce560dad786922e8d51496da2687e1723' into main

1
2
3
4
5
6
7
8
9
10
11
12
13
14
diff --git a/src/render/SDL_render.c b/src/render/SDL_render.c
index 0418452..7dd1985 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);
     }