summaryrefslogtreecommitdiff
path: root/src/graphics.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2011-07-13 00:02:36 +0300
committerAndrei Karas <akaras@inbox.ru>2011-07-13 00:44:26 +0300
commit17b582cf14f6bb1f8f813b0753e9d7049d834799 (patch)
tree59a6d75933d407ec7005bad61067f7bfeccbe125 /src/graphics.cpp
parent0cb2b34eacd0081f82e7d68bbf57149f3549bfc9 (diff)
downloadmv-17b582cf14f6bb1f8f813b0753e9d7049d834799.tar.gz
mv-17b582cf14f6bb1f8f813b0753e9d7049d834799.tar.bz2
mv-17b582cf14f6bb1f8f813b0753e9d7049d834799.tar.xz
mv-17b582cf14f6bb1f8f813b0753e9d7049d834799.zip
Disable software fast fillRectangle in windows.
Diffstat (limited to 'src/graphics.cpp')
-rw-r--r--src/graphics.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/graphics.cpp b/src/graphics.cpp
index d07d45bb3..fac91b4d5 100644
--- a/src/graphics.cpp
+++ b/src/graphics.cpp
@@ -723,6 +723,7 @@ int Graphics::SDL_FakeUpperBlit (SDL_Surface *src, SDL_Rect *srcrect,
return 0;
}
+#if !defined(__MINGW32__)
void Graphics::fillRectangle(const gcn::Rectangle& rectangle)
{
if (mClipStack.empty())
@@ -842,3 +843,4 @@ void Graphics::fillRectangle(const gcn::Rectangle& rectangle)
SDL_FillRect(mTarget, &rect, color);
}
}
+#endif