summaryrefslogtreecommitdiff
path: root/src/graphics.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/graphics.cpp')
-rw-r--r--src/graphics.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/graphics.cpp b/src/graphics.cpp
index 065c0a46..f007470a 100644
--- a/src/graphics.cpp
+++ b/src/graphics.cpp
@@ -39,6 +39,9 @@ Graphics::~Graphics()
bool Graphics::setVideoMode(int w, int h, int bpp, bool fs, bool hwaccel)
{
+ logger->log("Setting video mode %dx%d %s",
+ w, h, fs ? "fullscreen" : "windowed");
+
int displayFlags = SDL_ANYFORMAT;
mFullscreen = fs;