Fix compiling tests with sdl 1
This commit is contained in:
parent
a6458d2716
commit
bac5c1a2e5
1 changed files with 3 additions and 0 deletions
|
|
@ -7,8 +7,11 @@ int main(int argc, char **argv)
|
|||
{
|
||||
// Disable error dialogs.
|
||||
devilution::gbQuietMode = true;
|
||||
|
||||
#if SDL_VERSION_ATLEAST(2, 0, 0)
|
||||
// Disable hardware cursor while testing.
|
||||
devilution::sgOptions.Graphics.hardwareCursor.SetValue(false);
|
||||
#endif
|
||||
|
||||
testing::InitGoogleTest(&argc, argv);
|
||||
return RUN_ALL_TESTS();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue