From dcbe0b172eea68beb95ca86c3a0b55c2ef259746 Mon Sep 17 00:00:00 2001 From: Daniel Gibson Date: Sun, 21 Nov 2021 03:13:35 +0100 Subject: [PATCH] Print SDL2 "video driver" at startup --- neo/framework/Common.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/neo/framework/Common.cpp b/neo/framework/Common.cpp index 7d98d780..c12a4192 100644 --- a/neo/framework/Common.cpp +++ b/neo/framework/Common.cpp @@ -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();