summaryrefslogtreecommitdiff
path: root/src/main.cpp
diff options
context:
space:
mode:
authorBjørn Lindeijer <bjorn@lindeijer.nl>2005-07-11 21:19:16 +0000
committerBjørn Lindeijer <bjorn@lindeijer.nl>2005-07-11 21:19:16 +0000
commit8f40ab49da011f6d57653afbd10d22c20309f2f6 (patch)
treeb9299d2d1fcd63f3e10dd6c9d40e87c7ccb73748 /src/main.cpp
parentd7a67cd2fcc35e0fe119bf0de304f6fb8da81229 (diff)
downloadmana-8f40ab49da011f6d57653afbd10d22c20309f2f6.tar.gz
mana-8f40ab49da011f6d57653afbd10d22c20309f2f6.tar.bz2
mana-8f40ab49da011f6d57653afbd10d22c20309f2f6.tar.xz
mana-8f40ab49da011f6d57653afbd10d22c20309f2f6.zip
Introducing new font, sans serif 8.
Diffstat (limited to 'src/main.cpp')
-rw-r--r--src/main.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/main.cpp b/src/main.cpp
index 1704b409..14191c0a 100644
--- a/src/main.cpp
+++ b/src/main.cpp
@@ -227,11 +227,10 @@ void init_engine()
screenW = (int)config.getValue("screenwidth", 800);
screenH = (int)config.getValue("screenheight", 600);
- bitDepth = (int)config.getValue("colordepth", 16);
SDL_WM_SetIcon(IMG_Load(TMW_DATADIR "data/icons/tmw-icon.png"), NULL);
- screen = SDL_SetVideoMode(screenW, screenH, bitDepth, displayFlags);
+ screen = SDL_SetVideoMode(screenW, screenH, 0, displayFlags);
if (screen == NULL) {
std::cerr << "Couldn't set " << screenW << "x" << screenH << "x" <<
bitDepth << " video mode: " << SDL_GetError() << std::endl;