summaryrefslogtreecommitdiff
path: root/src/graphics.cpp
diff options
context:
space:
mode:
authorBjørn Lindeijer <bjorn@lindeijer.nl>2005-05-02 11:23:05 +0000
committerBjørn Lindeijer <bjorn@lindeijer.nl>2005-05-02 11:23:05 +0000
commitb8dbdb628ba7a07a785e494d0ed76ebfe9e06615 (patch)
tree173d22e656ac771e473cdb7c1d035963d39c27e1 /src/graphics.cpp
parentb05628214d64e579504c87da72e79c024245a631 (diff)
downloadmana-b8dbdb628ba7a07a785e494d0ed76ebfe9e06615.tar.gz
mana-b8dbdb628ba7a07a785e494d0ed76ebfe9e06615.tar.bz2
mana-b8dbdb628ba7a07a785e494d0ed76ebfe9e06615.tar.xz
mana-b8dbdb628ba7a07a785e494d0ed76ebfe9e06615.zip
Made config.xml, tmw.log and chatlog.txt always appear in ~/.tmw on *nix.
Diffstat (limited to 'src/graphics.cpp')
-rw-r--r--src/graphics.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/graphics.cpp b/src/graphics.cpp
index e0763c29..5ff02aa8 100644
--- a/src/graphics.cpp
+++ b/src/graphics.cpp
@@ -38,7 +38,7 @@ Graphics::Graphics():
glClearColor(0.0f, 0.0f, 0.0f, 0.0f);
int gotDoubleBuffer;
SDL_GL_GetAttribute(SDL_GL_DOUBLEBUFFER, &gotDoubleBuffer);
- logger.log("Using OpenGL %s double buffering.",
+ logger->log("Using OpenGL %s double buffering.",
(gotDoubleBuffer ? "with" : "without"));
}
@@ -55,7 +55,7 @@ Graphics::Graphics():
ResourceManager *resman = ResourceManager::getInstance();
mouseCursor = resman->getImage("graphics/gui/mouse.png", IMG_ALPHA);
if (!mouseCursor) {
- logger.error("Unable to load mouse cursor.");
+ logger->error("Unable to load mouse cursor.");
}
// Initialize for drawing