diff options
author | Ira Rice <irarice@gmail.com> | 2008-12-20 23:28:46 -0700 |
---|---|---|
committer | Ira Rice <irarice@gmail.com> | 2008-12-20 23:28:46 -0700 |
commit | 3f000858edfbca044a7d8168bd879ef80285e522 (patch) | |
tree | 50bb164102401954e6283ade3e8a3ebf75a21be8 /src/graphics.cpp | |
parent | 8e86b8c4d0f3d9be979b53689d35f8f0b1381060 (diff) | |
download | mana-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.cpp | 2 |
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; |