summaryrefslogtreecommitdiff
path: root/src/openglgraphics.h
diff options
context:
space:
mode:
authorSteve Cotton <steve@s.cotton.clara.co.uk>2009-03-16 20:46:21 +0000
committerSteve Cotton <steve@s.cotton.clara.co.uk>2009-03-16 20:46:21 +0000
commitd654758ef63f6515d678ceaf77d63a2693e08fb7 (patch)
treeb964fe878c9f7d7329b68eb933ec7ae930fba123 /src/openglgraphics.h
parente90b7ba7d85edf9e5e020f3781f45ac318e7ea22 (diff)
downloadmana-d654758ef63f6515d678ceaf77d63a2693e08fb7.tar.gz
mana-d654758ef63f6515d678ceaf77d63a2693e08fb7.tar.bz2
mana-d654758ef63f6515d678ceaf77d63a2693e08fb7.tar.xz
mana-d654758ef63f6515d678ceaf77d63a2693e08fb7.zip
Optimising OpenGLGraphics::drawImagePattern
Diffstat (limited to 'src/openglgraphics.h')
-rw-r--r--src/openglgraphics.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/openglgraphics.h b/src/openglgraphics.h
index 207d6725..a7181420 100644
--- a/src/openglgraphics.h
+++ b/src/openglgraphics.h
@@ -47,6 +47,10 @@ class OpenGLGraphics : public Graphics
int width, int height,
bool useColor);
+ void drawImagePattern(Image *image,
+ int x, int y,
+ int w, int h);
+
void updateScreen();
void _beginDraw();