mirror of
https://github.com/Ryujinx/SDL.git
synced 2025-07-03 10:48:15 +00:00
Allow running tests with the dummy video driver
This commit is contained in:
parent
0465224616
commit
7df721d4e9
|
@ -134,6 +134,7 @@ int SDLTest_CommonArg(SDLTest_CommonState *state, int index)
|
||||||
return -1;
|
return -1;
|
||||||
}
|
}
|
||||||
state->videodriver = argv[index];
|
state->videodriver = argv[index];
|
||||||
|
SDL_SetHint(SDL_HINT_VIDEODRIVER, state->videodriver);
|
||||||
return 2;
|
return 2;
|
||||||
}
|
}
|
||||||
if (SDL_strcasecmp(argv[index], "--renderer") == 0) {
|
if (SDL_strcasecmp(argv[index], "--renderer") == 0) {
|
||||||
|
|
Loading…
Reference in a new issue