summaryrefslogtreecommitdiff
path: root/src/graphics.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2011-06-09 22:56:44 +0300
committerAndrei Karas <akaras@inbox.ru>2011-06-10 00:35:42 +0300
commit3e9d70d40bfd0205ffaf4db268e6c4a908fc36e9 (patch)
tree6dea7d768ff22048379575d0dc3c82faacd17630 /src/graphics.h
parente98699575b3af4cca471afbc13899e4988aaa729 (diff)
downloadmanaplus-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.h2
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.