mirror of
https://github.com/xenia-project/xenia.git
synced 2024-11-23 11:39:45 +00:00
[SDL2] Print version on startup
This commit is contained in:
parent
76561d5add
commit
9eef64d3fb
@ -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_;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user