summaryrefslogtreecommitdiff
path: root/src/graphics.cpp
diff options
context:
space:
mode:
authorIra Rice <irarice@gmail.com>2008-12-20 23:28:46 -0700
committerIra Rice <irarice@gmail.com>2008-12-20 23:28:46 -0700
commit3f000858edfbca044a7d8168bd879ef80285e522 (patch)
tree50bb164102401954e6283ade3e8a3ebf75a21be8 /src/graphics.cpp
parent8e86b8c4d0f3d9be979b53689d35f8f0b1381060 (diff)
downloadmana-3f000858edfbca044a7d8168bd879ef80285e522.tar.gz
mana-3f000858edfbca044a7d8168bd879ef80285e522.tar.bz2
mana-3f000858edfbca044a7d8168bd879ef80285e522.tar.xz
mana-3f000858edfbca044a7d8168bd879ef80285e522.zip
Enabled video mode switching, as well as got rid of an old, unneeded
check in the ColorDB. Signed-off-by: Ira Rice <irarice@gmail.com>
Diffstat (limited to 'src/graphics.cpp')
-rw-r--r--src/graphics.cpp2
1 files changed, 2 insertions, 0 deletions
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;