diff options
author | xengineering <me@xengineering.eu> | 2022-10-08 19:56:43 +0200 |
---|---|---|
committer | xengineering <me@xengineering.eu> | 2022-10-08 19:56:43 +0200 |
commit | 413e6f664f460a342124103eeb4a5500ca3a5758 (patch) | |
tree | 3a7ba1058459af2596d29e83a4e1d52bfeb1b6c6 | |
parent | 7261530516dd0485be9648bde2d0bd49605434e9 (diff) | |
download | limox-413e6f664f460a342124103eeb4a5500ca3a5758.tar limox-413e6f664f460a342124103eeb4a5500ca3a5758.tar.zst limox-413e6f664f460a342124103eeb4a5500ca3a5758.zip |
Output used SDL2 video driver
-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"); |