diff options
author | Guillaume Melquiond <guillaume.melquiond@gmail.com> | 2007-08-26 20:35:48 +0000 |
---|---|---|
committer | Guillaume Melquiond <guillaume.melquiond@gmail.com> | 2007-08-26 20:35:48 +0000 |
commit | 076e82ac5ed30086821aa0d27e9d725e794b928a (patch) | |
tree | 31ae6c854c82ed789931f5ebd998e3c2b9aea17c /src/graphics.cpp | |
parent | c1caa4d90e00cd248c05c43ace035c62ab470354 (diff) | |
download | mana-client-076e82ac5ed30086821aa0d27e9d725e794b928a.tar.gz mana-client-076e82ac5ed30086821aa0d27e9d725e794b928a.tar.bz2 mana-client-076e82ac5ed30086821aa0d27e9d725e794b928a.tar.xz mana-client-076e82ac5ed30086821aa0d27e9d725e794b928a.zip |
Fixed fonts not being recolored by adding an explicit parameter to require it.
Diffstat (limited to 'src/graphics.cpp')
-rw-r--r-- | src/graphics.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/graphics.cpp b/src/graphics.cpp index 5ece979d..a6a34357 100644 --- a/src/graphics.cpp +++ b/src/graphics.cpp @@ -127,7 +127,7 @@ bool Graphics::drawImage(Image *image, int x, int y) } bool Graphics::drawImage(Image *image, int srcX, int srcY, int dstX, int dstY, - int width, int height) + int width, int height, bool) { // Check that preconditions for blitting are met. if (!mScreen || !image || !image->mImage) return false; @@ -154,7 +154,7 @@ void Graphics::drawImage(gcn::Image const *image, int srcX, int srcY, ProxyImage const *srcImage = dynamic_cast< ProxyImage const * >(image); assert(srcImage); - drawImage(srcImage->getImage(), srcX, srcY, dstX, dstY, width, height); + drawImage(srcImage->getImage(), srcX, srcY, dstX, dstY, width, height, true); } void Graphics::drawImagePattern(Image *image, int x, int y, int w, int h) |