From 413e6f664f460a342124103eeb4a5500ca3a5758 Mon Sep 17 00:00:00 2001 From: xengineering Date: Sat, 8 Oct 2022 19:56:43 +0200 Subject: Output used SDL2 video driver --- sdl2.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/sdl2.c b/sdl2.c index bbabd51..e8a12f9 100644 --- a/sdl2.c +++ b/sdl2.c @@ -25,6 +25,9 @@ void gui_run(void) { 0 ); + // output video driver to stderr + fprintf(stderr, "SDL2 video driver: %s\n", SDL_GetCurrentVideoDriver()); + // handle failed window creation if (window == NULL) { fprintf(stderr, "Failed to create SDL2 window!\n"); -- cgit v1.2.3-70-g09d2