diff options
author | Thorbjørn Lindeijer <thorbjorn@lindeijer.nl> | 2012-02-10 22:23:27 +0100 |
---|---|---|
committer | Thorbjørn Lindeijer <thorbjorn@lindeijer.nl> | 2012-02-10 23:38:46 +0100 |
commit | 3b022084c6d661276b3a5f5151e2bfbf6201cb98 (patch) | |
tree | 85c4064a2c22db1267c4678ff2ebf6599e1c14e8 /src/gui/widgets/desktop.cpp | |
parent | b89a8e3e6a2d31d886e31383a4add186f0fa3680 (diff) | |
download | mana-3b022084c6d661276b3a5f5151e2bfbf6201cb98.tar.gz mana-3b022084c6d661276b3a5f5151e2bfbf6201cb98.tar.bz2 mana-3b022084c6d661276b3a5f5151e2bfbf6201cb98.tar.xz mana-3b022084c6d661276b3a5f5151e2bfbf6201cb98.zip |
Arbitrary small code cleanups
Reviewed-by: Erik Schilling
Diffstat (limited to 'src/gui/widgets/desktop.cpp')
-rw-r--r-- | src/gui/widgets/desktop.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/widgets/desktop.cpp b/src/gui/widgets/desktop.cpp index baf3e951..ce609891 100644 --- a/src/gui/widgets/desktop.cpp +++ b/src/gui/widgets/desktop.cpp @@ -86,7 +86,7 @@ void Desktop::draw(gcn::Graphics *graphics) if (mWallpaper) { - if (!mWallpaper->useOpenGL()) + if (!Image::useOpenGL()) g->drawImage(mWallpaper, (getWidth() - mWallpaper->getWidth()) / 2, (getHeight() - mWallpaper->getHeight()) / 2); |