summaryrefslogtreecommitdiff
path: root/src/graphics.cpp
diff options
context:
space:
mode:
authorYohann Ferreira <bertram@cegetel.net>2005-03-24 20:47:20 +0000
committerYohann Ferreira <bertram@cegetel.net>2005-03-24 20:47:20 +0000
commit3a431603a284010cb009748788d92f638f69d729 (patch)
tree9aadedf03cdb46e1da2e4b044a3428f95b9a0f31 /src/graphics.cpp
parentae53186552918738595379722cbb386d7c0438c6 (diff)
downloadmana-3a431603a284010cb009748788d92f638f69d729.tar.gz
mana-3a431603a284010cb009748788d92f638f69d729.tar.bz2
mana-3a431603a284010cb009748788d92f638f69d729.tar.xz
mana-3a431603a284010cb009748788d92f638f69d729.zip
logger...
Diffstat (limited to 'src/graphics.cpp')
-rw-r--r--src/graphics.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/graphics.cpp b/src/graphics.cpp
index cd46482b..ecea7bbd 100644
--- a/src/graphics.cpp
+++ b/src/graphics.cpp
@@ -24,6 +24,7 @@
#include "graphics.h"
#include "log.h"
#include "resources/resourcemanager.h"
+#include "main.h"
SDL_Surface *screen;
@@ -44,7 +45,7 @@ Graphics::Graphics():
ResourceManager *resman = ResourceManager::getInstance();
mouseCursor = resman->getImage("core/graphics/gui/mouse.png", IMG_ALPHA);
if (!mouseCursor) {
- error("Unable to load mouse cursor.");
+ logger.error("Unable to load mouse cursor.");
}
// Initialize for drawing