diff options
author | Andrei Karas <akaras@inbox.ru> | 2011-07-13 00:02:36 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2011-07-13 00:44:26 +0300 |
commit | 17b582cf14f6bb1f8f813b0753e9d7049d834799 (patch) | |
tree | 59a6d75933d407ec7005bad61067f7bfeccbe125 /src/graphics.cpp | |
parent | 0cb2b34eacd0081f82e7d68bbf57149f3549bfc9 (diff) | |
download | plus-17b582cf14f6bb1f8f813b0753e9d7049d834799.tar.gz plus-17b582cf14f6bb1f8f813b0753e9d7049d834799.tar.bz2 plus-17b582cf14f6bb1f8f813b0753e9d7049d834799.tar.xz plus-17b582cf14f6bb1f8f813b0753e9d7049d834799.zip |
Disable software fast fillRectangle in windows.
Diffstat (limited to 'src/graphics.cpp')
-rw-r--r-- | src/graphics.cpp | 2 |
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 |