diff options
-rw-r--r-- | sdl2.c | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -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"); |