mirror of
https://github.com/dhewm/dhewm3.git
synced 2024-11-26 22:31:17 +00:00
Print SDL2 "video driver" at startup
This commit is contained in:
parent
4b97bbca00
commit
dcbe0b172e
1 changed files with 4 additions and 0 deletions
|
@ -2974,6 +2974,10 @@ void idCommonLocal::Init( int argc, char **argv ) {
|
||||||
Printf( "%s using SDL v%u.%u.%u\n",
|
Printf( "%s using SDL v%u.%u.%u\n",
|
||||||
version.string, sdlv.major, sdlv.minor, sdlv.patch );
|
version.string, sdlv.major, sdlv.minor, sdlv.patch );
|
||||||
|
|
||||||
|
#if SDL_VERSION_ATLEAST(2, 0, 0)
|
||||||
|
Printf( "SDL video driver: %s\n", SDL_GetCurrentVideoDriver() );
|
||||||
|
#endif
|
||||||
|
|
||||||
// initialize key input/binding, done early so bind command exists
|
// initialize key input/binding, done early so bind command exists
|
||||||
idKeyInput::Init();
|
idKeyInput::Init();
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue