aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--backends/sdl/graphics.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/backends/sdl/graphics.cpp b/backends/sdl/graphics.cpp
index fb93a6a322..63df66f1de 100644
--- a/backends/sdl/graphics.cpp
+++ b/backends/sdl/graphics.cpp
@@ -373,7 +373,7 @@ void OSystem_SDL::loadGFXMode() {
// in place of the member vars, do everything etc. etc.. In case
// of a failure, rollback is trivial. Only if everything worked fine
// do we "commit" the changed values to the member vars.
- warning("SDL_SetVideoMode says we can't switch to that mode");
+ warning("SDL_SetVideoMode says we can't switch to that mode (%s)", SDL_GetError());
quit();
}