1
0
mirror of https://gitlab.com/OpenMW/openmw.git synced 2025-03-17 10:21:11 +00:00

Merge pull request #2254 from Capostrophic/version

Print SDL version at startup
This commit is contained in:
Bret Curtis 2019-03-15 18:56:35 +01:00 committed by GitHub
commit cc9a6bfcdd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -651,6 +651,9 @@ void OMW::Engine::go()
assert (!mContentFiles.empty()); assert (!mContentFiles.empty());
Log(Debug::Info) << "OSG version: " << osgGetVersion(); Log(Debug::Info) << "OSG version: " << osgGetVersion();
SDL_version sdlVersion;
SDL_GetVersion(&sdlVersion);
Log(Debug::Info) << "SDL version: " << (int)sdlVersion.major << "." << (int)sdlVersion.minor << "." << (int)sdlVersion.patch;
Misc::Rng::init(mRandomSeed); Misc::Rng::init(mRandomSeed);