[SDL2] Print version on startup

This commit is contained in:
Joel Linn 2022-11-20 22:24:50 +01:00 committed by Rick Gibbed
parent 76561d5add
commit 9eef64d3fb
1 changed files with 4 additions and 0 deletions

View File

@ -32,6 +32,10 @@ bool SDLHelper::Prepare() {
is_prepared_ &= SetHints();
is_prepared_ &= RedirectLog();
SDL_version ver = {};
SDL_GetVersion(&ver);
XELOGI("SDL Version {}.{}.{} initialized.", ver.major, ver.minor, ver.patch);
return is_prepared_;
}