summaryrefslogtreecommitdiff
path: root/src/graphics.cpp
diff options
context:
space:
mode:
authorBjørn Lindeijer <bjorn@lindeijer.nl>2006-11-26 21:51:01 +0000
committerBjørn Lindeijer <bjorn@lindeijer.nl>2006-11-26 21:51:01 +0000
commita8a90f2df98e13971566af63567e31da4666b1c9 (patch)
treedfabbaf186faeb262f72948aea94b1ad160420a4 /src/graphics.cpp
parent42f18ad42f3b908d6af849a74273a58840fa67a1 (diff)
downloadmana-a8a90f2df98e13971566af63567e31da4666b1c9.tar.gz
mana-a8a90f2df98e13971566af63567e31da4666b1c9.tar.bz2
mana-a8a90f2df98e13971566af63567e31da4666b1c9.tar.xz
mana-a8a90f2df98e13971566af63567e31da4666b1c9.zip
Higher precision log timestamps, some more logging and support for TGA images.
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 2757214a..b70fdeea 100644
--- a/src/graphics.cpp
+++ b/src/graphics.cpp
@@ -41,6 +41,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;