From 3f000858edfbca044a7d8168bd879ef80285e522 Mon Sep 17 00:00:00 2001 From: Ira Rice Date: Sat, 20 Dec 2008 23:28:46 -0700 Subject: Enabled video mode switching, as well as got rid of an old, unneeded check in the ColorDB. Signed-off-by: Ira Rice --- src/graphics.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/graphics.cpp') diff --git a/src/graphics.cpp b/src/graphics.cpp index 6920bcb0..82404bce 100644 --- a/src/graphics.cpp +++ b/src/graphics.cpp @@ -42,6 +42,8 @@ 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"); + logger->log("Bits per pixel: %d", bpp); + int displayFlags = SDL_ANYFORMAT; mFullscreen = fs; -- cgit v1.2.3-70-g09d2