Print SDL2 "video driver" at startup

This commit is contained in:
Daniel Gibson 2021-11-21 03:13:35 +01:00
parent 4b97bbca00
commit dcbe0b172e

View file

@ -2974,6 +2974,10 @@ void idCommonLocal::Init( int argc, char **argv ) {
Printf( "%s using SDL v%u.%u.%u\n",
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
idKeyInput::Init();