Skip to content

Commit

Permalink
JANITORIAL: ubuntu 22.04 doesn't have SDL >= 2.30.0
Browse files Browse the repository at this point in the history
this basically reverts 76e6118
  • Loading branch information
mgerhardy committed Nov 14, 2024
1 parent 6f7da3e commit 1ab7e10
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/modules/app/tests/AbstractTest.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,9 @@ AppState AbstractTest::TestApp::onInit() {
if (!_test->onInitApp()) {
return AppState::InitFailure;
}
#ifdef SDL_HINT_SHUTDOWN_DBUS_ON_QUIT
SDL_SetHint(SDL_HINT_SHUTDOWN_DBUS_ON_QUIT, "1");
#endif

return state;
}
Expand Down
2 changes: 2 additions & 0 deletions src/modules/testcore/TestApp.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,9 @@ app::AppState TestApp::onInit() {
if (state != app::AppState::Running) {
return state;
}
#ifdef SDL_HINT_SHUTDOWN_DBUS_ON_QUIT
SDL_SetHint(SDL_HINT_SHUTDOWN_DBUS_ON_QUIT, "1");
#endif
_logLevelVar->setVal((int)Log::Level::Debug);
Log::init();

Expand Down

0 comments on commit 1ab7e10

Please sign in to comment.