diff options
author | Bjørn Lindeijer <bjorn@lindeijer.nl> | 2005-01-18 14:55:34 +0000 |
---|---|---|
committer | Bjørn Lindeijer <bjorn@lindeijer.nl> | 2005-01-18 14:55:34 +0000 |
commit | 2f105505996510db2b462e15ef9c7cf77ab9bbb6 (patch) | |
tree | 59100bc7032b0bd4ead2cdab4321b990c194bbbe /src/main.cpp | |
parent | 2008dd972c0fee0c57d41770327059b817b3b142 (diff) | |
download | mana-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.cpp | 4 |
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); } |