summaryrefslogtreecommitdiff
path: root/sdl2.c
diff options
context:
space:
mode:
Diffstat (limited to 'sdl2.c')
-rw-r--r--sdl2.c3
1 files changed, 3 insertions, 0 deletions
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");