diff options
author | Andrei Karas <akaras@inbox.ru> | 2011-06-09 22:56:44 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2011-06-10 00:35:42 +0300 |
commit | 3e9d70d40bfd0205ffaf4db268e6c4a908fc36e9 (patch) | |
tree | 6dea7d768ff22048379575d0dc3c82faacd17630 /src/graphics.h | |
parent | e98699575b3af4cca471afbc13899e4988aaa729 (diff) | |
download | manaplus-3e9d70d40bfd0205ffaf4db268e6c4a908fc36e9.tar.gz manaplus-3e9d70d40bfd0205ffaf4db268e6c4a908fc36e9.tar.bz2 manaplus-3e9d70d40bfd0205ffaf4db268e6c4a908fc36e9.tar.xz manaplus-3e9d70d40bfd0205ffaf4db268e6c4a908fc36e9.zip |
Improve fill rectangle speed in Software mode.
Diffstat (limited to 'src/graphics.h')
-rw-r--r-- | src/graphics.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/graphics.h b/src/graphics.h index 423279fb0..e18b58e75 100644 --- a/src/graphics.h +++ b/src/graphics.h @@ -225,6 +225,8 @@ class Graphics : public gcn::SDLGraphics BlitMode getBlitMode() { return mBlitMode; } + void fillRectangle(const gcn::Rectangle& rectangle); + /** * Updates the screen. This is done by either copying the buffer to the * screen or swapping pages. |