diff options
author | Bjørn Lindeijer <bjorn@lindeijer.nl> | 2005-02-14 15:13:54 +0000 |
---|---|---|
committer | Bjørn Lindeijer <bjorn@lindeijer.nl> | 2005-02-14 15:13:54 +0000 |
commit | 4f6c1dad35e575588b73524692d973dec06447c3 (patch) | |
tree | d052c3c7db66450888af132ac9dcefb7c28b58a6 /src/gui/char_select.cpp | |
parent | ebccde5d779f25584386ddc0c4bdc6331877bcc6 (diff) | |
download | mana-4f6c1dad35e575588b73524692d973dec06447c3.tar.gz mana-4f6c1dad35e575588b73524692d973dec06447c3.tar.bz2 mana-4f6c1dad35e575588b73524692d973dec06447c3.tar.xz mana-4f6c1dad35e575588b73524692d973dec06447c3.zip |
Support for drawing using OpenGL. Don't expect it to be fast yet though.
Diffstat (limited to 'src/gui/char_select.cpp')
-rw-r--r-- | src/gui/char_select.cpp | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/src/gui/char_select.cpp b/src/gui/char_select.cpp index 9cf20f94..24fa9c86 100644 --- a/src/gui/char_select.cpp +++ b/src/gui/char_select.cpp @@ -450,13 +450,12 @@ void charSelect() sel->setPlayerInfo(char_info); } - // Draw background - login_wallpaper->draw(screen, 0, 0); - gui->logic(); - gui->draw(); - // Draw to screen + guiGraphics->_beginDraw(); + login_wallpaper->draw(screen, 0, 0); + gui->draw(); + guiGraphics->_endDraw(); guiGraphics->updateScreen(); } |