Fix flags check in test code

This commit is contained in:
Alex Szpakowski 2021-02-15 11:51:00 -04:00 committed by Sam Lantinga
parent 9b9d0d484d
commit 09231c42ea
1 changed files with 1 additions and 1 deletions

View File

@ -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;