Fix flags check in test code
diff --git a/src/test/SDL_test_common.c b/src/test/SDL_test_common.c
index f592869..b574c2b 100644
--- a/src/test/SDL_test_common.c
+++ b/src/test/SDL_test_common.c
@@ -1106,7 +1106,7 @@ SDLTest_CommonInit(SDLTest_CommonState * state)
if (!state->skip_renderer
&& (state->renderdriver
- || !(state->window_flags & (SDL_WINDOW_OPENGL | SDL_WINDOW_VULKAN)))) {
+ || !(state->window_flags & (SDL_WINDOW_OPENGL | SDL_WINDOW_VULKAN | SDL_WINDOW_METAL)))) {
m = -1;
if (state->renderdriver) {
SDL_RendererInfo info;