summaryrefslogtreecommitdiff
path: root/src/graphics.cpp
diff options
context:
space:
mode:
authorBjørn Lindeijer <bjorn@lindeijer.nl>2005-05-21 22:39:53 +0000
committerBjørn Lindeijer <bjorn@lindeijer.nl>2005-05-21 22:39:53 +0000
commite4e3f73db10d345453f2c6d06ae1dc499a4c7404 (patch)
tree7117443cf1267f9354206c21d70ac4ae0ddefcec /src/graphics.cpp
parent241e2461446a830194f202b840abcd3598f804a5 (diff)
downloadmana-e4e3f73db10d345453f2c6d06ae1dc499a4c7404.tar.gz
mana-e4e3f73db10d345453f2c6d06ae1dc499a4c7404.tar.bz2
mana-e4e3f73db10d345453f2c6d06ae1dc499a4c7404.tar.xz
mana-e4e3f73db10d345453f2c6d06ae1dc499a4c7404.zip
Numerous things:
* Fixed two non-virtual destructor warnings showing up with GCC 4. * Fixed OpenGL inventory text drawing that broke in last commit * Removed glClear cause screen is redrawn completely anyway * Fixed updating of buttons in inventory window * Made items.xml be loaded through resource manager.
Diffstat (limited to 'src/graphics.cpp')
-rw-r--r--src/graphics.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/graphics.cpp b/src/graphics.cpp
index 4e43b4b5..8829e4e9 100644
--- a/src/graphics.cpp
+++ b/src/graphics.cpp
@@ -146,7 +146,6 @@ void Graphics::updateScreen()
glFlush();
glFinish();
SDL_GL_SwapBuffers();
- glClear(GL_COLOR_BUFFER_BIT);
}
else {
SDL_Flip(screen);