From 09231c42ea9c6ca2d6cfddb75418f678f6a0a0a7 Mon Sep 17 00:00:00 2001 From: Alex Szpakowski Date: Mon, 15 Feb 2021 11:51:00 -0400 Subject: [PATCH] Fix flags check in test code --- src/test/SDL_test_common.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/test/SDL_test_common.c b/src/test/SDL_test_common.c index f592869cc..b574c2b27 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;