summaryrefslogtreecommitdiff
path: root/src/graphics.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2011-04-09 04:03:48 +0300
committerAndrei Karas <akaras@inbox.ru>2011-04-09 04:03:48 +0300
commit8bed92098b94ebe14dfd9d622585fbfc150a8757 (patch)
tree2211bd2c0c6db311915b5181dcc77cfee5fdc3cb /src/graphics.h
parent3968453eb82521f6ab3966ff1dc08cd0c803d359 (diff)
downloadmanaplus-8bed92098b94ebe14dfd9d622585fbfc150a8757.tar.gz
manaplus-8bed92098b94ebe14dfd9d622585fbfc150a8757.tar.bz2
manaplus-8bed92098b94ebe14dfd9d622585fbfc150a8757.tar.xz
manaplus-8bed92098b94ebe14dfd9d622585fbfc150a8757.zip
Improve SDL gui draw speed.
Diffstat (limited to 'src/graphics.h')
-rw-r--r--src/graphics.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/graphics.h b/src/graphics.h
index 817249c60..c1d5aa501 100644
--- a/src/graphics.h
+++ b/src/graphics.h
@@ -256,6 +256,9 @@ class Graphics : public gcn::SDLGraphics
{ return mClipStack.top(); }
protected:
+ int SDL_FakeUpperBlit (SDL_Surface *src, SDL_Rect *srcrect,
+ SDL_Surface *dst, SDL_Rect *dstrect);
+
int mWidth;
int mHeight;
int mBpp;