mirror of https://github.com/encounter/SDL.git
Fix flags check in test code
This commit is contained in:
parent
9b9d0d484d
commit
09231c42ea
|
@ -1106,7 +1106,7 @@ SDLTest_CommonInit(SDLTest_CommonState * state)
|
||||||
|
|
||||||
if (!state->skip_renderer
|
if (!state->skip_renderer
|
||||||
&& (state->renderdriver
|
&& (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;
|
m = -1;
|
||||||
if (state->renderdriver) {
|
if (state->renderdriver) {
|
||||||
SDL_RendererInfo info;
|
SDL_RendererInfo info;
|
||||||
|
|
Loading…
Reference in New Issue