diff options
Diffstat (limited to 'src/video')
-rw-r--r-- | src/video/sdl2_v.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/video/sdl2_v.cpp b/src/video/sdl2_v.cpp index e4518d5b3..61edea6e0 100644 --- a/src/video/sdl2_v.cpp +++ b/src/video/sdl2_v.cpp @@ -306,7 +306,7 @@ bool VideoDriver_SDL::CreateMainWindow(uint w, uint h) flags); if (_sdl_window == nullptr) { - DEBUG(driver, 0, "SDL2: Couldn't allocate a window to draw on"); + DEBUG(driver, 0, "SDL2: Couldn't allocate a window to draw on: %s", SDL_GetError()); return false; } |