diff options
-rw-r--r-- | src/graphics.cpp | 2 | ||||
-rw-r--r-- | src/graphics.h | 2 |
2 files changed, 4 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 diff --git a/src/graphics.h b/src/graphics.h index 40db25c5d..3c78a94fa 100644 --- a/src/graphics.h +++ b/src/graphics.h @@ -225,7 +225,9 @@ class Graphics : public gcn::SDLGraphics BlitMode getBlitMode() { return mBlitMode; } +#if !defined(__MINGW32__) void fillRectangle(const gcn::Rectangle& rectangle); +#endif /** * Updates the screen. This is done by either copying the buffer to the |