Commit 8f7577d70aedbe531f27dbf74b90f5461bb506f2

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

Merge commit '790fa3156cfee847a7c0b34986de0cd7fdd7438f' 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 7dd1985..0418452 100644
--- a/src/render/SDL_render.c
+++ b/src/render/SDL_render.c
@@ -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);
     }