summaryrefslogtreecommitdiff
path: root/src/render/safeopenglgraphics.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2013-12-30 21:21:40 +0300
committerAndrei Karas <akaras@inbox.ru>2013-12-30 21:21:40 +0300
commit9aa2b0ffb97f8a1b5ae5201983318d03615c11e1 (patch)
tree21df896ff8139745775d41c1c8f82a4c6431698e /src/render/safeopenglgraphics.h
parent96f7714510cba0a84cd749869f236188473c4553 (diff)
downloadManaVerse-9aa2b0ffb97f8a1b5ae5201983318d03615c11e1.tar.gz
ManaVerse-9aa2b0ffb97f8a1b5ae5201983318d03615c11e1.tar.bz2
ManaVerse-9aa2b0ffb97f8a1b5ae5201983318d03615c11e1.tar.xz
ManaVerse-9aa2b0ffb97f8a1b5ae5201983318d03615c11e1.zip
add calcPatternInline into renders for internal usage.
Diffstat (limited to 'src/render/safeopenglgraphics.h')
-rw-r--r--src/render/safeopenglgraphics.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/render/safeopenglgraphics.h b/src/render/safeopenglgraphics.h
index 5a8d7daa4..6de43109c 100644
--- a/src/render/safeopenglgraphics.h
+++ b/src/render/safeopenglgraphics.h
@@ -72,6 +72,11 @@ class SafeOpenGLGraphics final : public Graphics
int w, int h,
const ImageRect &imgRect);
+ void calcPatternInline(ImageVertexes *const vert,
+ const Image *const image,
+ const int x, const int y,
+ const int w, const int h) const;
+
bool mTexture;
bool mIsByteColor;
gcn::Color mByteColor;