From a8a90f2df98e13971566af63567e31da4666b1c9 Mon Sep 17 00:00:00 2001 From: Bjørn Lindeijer Date: Sun, 26 Nov 2006 21:51:01 +0000 Subject: Higher precision log timestamps, some more logging and support for TGA images. --- src/openglgraphics.cpp | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/openglgraphics.cpp') 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; -- cgit v1.2.3-70-g09d2