summaryrefslogtreecommitdiff
path: root/src/main.cpp
diff options
context:
space:
mode:
authorBjørn Lindeijer <bjorn@lindeijer.nl>2005-01-18 14:55:34 +0000
committerBjørn Lindeijer <bjorn@lindeijer.nl>2005-01-18 14:55:34 +0000
commit2f105505996510db2b462e15ef9c7cf77ab9bbb6 (patch)
tree59100bc7032b0bd4ead2cdab4321b990c194bbbe /src/main.cpp
parent2008dd972c0fee0c57d41770327059b817b3b142 (diff)
downloadmana-client-2f105505996510db2b462e15ef9c7cf77ab9bbb6.tar.gz
mana-client-2f105505996510db2b462e15ef9c7cf77ab9bbb6.tar.bz2
mana-client-2f105505996510db2b462e15ef9c7cf77ab9bbb6.tar.xz
mana-client-2f105505996510db2b462e15ef9c7cf77ab9bbb6.zip
Changed default depth to 32 and fixed window snapping by one pixel.
Diffstat (limited to 'src/main.cpp')
-rw-r--r--src/main.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main.cpp b/src/main.cpp
index 758e18f3..9d128581 100644
--- a/src/main.cpp
+++ b/src/main.cpp
@@ -210,9 +210,9 @@ void init_engine() {
displayFlags |= SDL_SWSURFACE;
}
- screen = SDL_SetVideoMode(800, 600, 16, displayFlags);
+ screen = SDL_SetVideoMode(800, 600, 32, displayFlags);
if (screen == NULL) {
- std::cerr << "Couldn't set 800x600x16 video mode: " <<
+ std::cerr << "Couldn't set 800x600x32 video mode: " <<
SDL_GetError() << std::endl;
exit(1);
}