[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