1
0
Fork 0
mirror of https://github.com/Ryujinx/SDL.git synced 2025-01-11 22:55:55 +00:00

Allow running tests with the dummy video driver

This commit is contained in:
Sam Lantinga 2023-07-25 12:07:45 -07:00
parent 0465224616
commit 7df721d4e9

View file

@ -134,6 +134,7 @@ int SDLTest_CommonArg(SDLTest_CommonState *state, int index)
return -1;
}
state->videodriver = argv[index];
SDL_SetHint(SDL_HINT_VIDEODRIVER, state->videodriver);
return 2;
}
if (SDL_strcasecmp(argv[index], "--renderer") == 0) {