summaryrefslogtreecommitdiff
path: root/src/openglgraphics.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/openglgraphics.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/openglgraphics.cpp')
-rw-r--r--src/openglgraphics.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/openglgraphics.cpp b/src/openglgraphics.cpp
index 2a6c931d..acc0fbb9 100644
--- a/src/openglgraphics.cpp
+++ b/src/openglgraphics.cpp
@@ -50,6 +50,9 @@ OpenGLGraphics::~OpenGLGraphics()
bool OpenGLGraphics::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 | SDL_OPENGL;
mFullscreen = fs;