summaryrefslogtreecommitdiff
path: root/src/safeopenglgraphics.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2012-10-06 15:26:12 +0300
committerAndrei Karas <akaras@inbox.ru>2012-10-06 15:26:12 +0300
commitfdbd1a4c521c537597b63cd4f2262517cab1f81a (patch)
treea873f6567942bfc8241703eb34a00abc671a2999 /src/safeopenglgraphics.h
parent4fb8f9f0905038f3180f108ec56b2a326ceb3483 (diff)
downloadplus-fdbd1a4c521c537597b63cd4f2262517cab1f81a.tar.gz
plus-fdbd1a4c521c537597b63cd4f2262517cab1f81a.tar.bz2
plus-fdbd1a4c521c537597b63cd4f2262517cab1f81a.tar.xz
plus-fdbd1a4c521c537597b63cd4f2262517cab1f81a.zip
Improve map draw speed in fast opengl.
Diffstat (limited to 'src/safeopenglgraphics.h')
-rw-r--r--src/safeopenglgraphics.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/safeopenglgraphics.h b/src/safeopenglgraphics.h
index efa9da832..1a0d06f46 100644
--- a/src/safeopenglgraphics.h
+++ b/src/safeopenglgraphics.h
@@ -94,7 +94,8 @@ class SafeOpenGLGraphics final : public Graphics
void drawImageRect2(GraphicsVertexes *const vert,
const ImageRect &imgRect) override;
- void calcTile(ImageVertexes *const vert, int x, int y) override;
+ void calcTile(ImageVertexes *const vert, const Image *const image,
+ int x, int y) override;
void drawTile(const ImageVertexes *const vert) override;