summaryrefslogtreecommitdiff
path: root/src/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/main.cpp')
-rw-r--r--src/main.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/main.cpp b/src/main.cpp
index 84e8b73a..7633df71 100644
--- a/src/main.cpp
+++ b/src/main.cpp
@@ -254,7 +254,8 @@ void init_engine()
// Try to set the desired video mode
- if (!graphics->setVideoMode(width, height, bpp, fullscreen, hwaccel)) {
+ if (!graphics->setVideoMode(width, height, bpp, fullscreen, hwaccel))
+ {
std::cerr << "Couldn't set " << width << "x" << height << "x" <<
bpp << " video mode: " << SDL_GetError() << std::endl;
exit(1);