summaryrefslogtreecommitdiff
path: root/src/render/normalopenglgraphics.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/render/normalopenglgraphics.cpp')
-rw-r--r--src/render/normalopenglgraphics.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/render/normalopenglgraphics.cpp b/src/render/normalopenglgraphics.cpp
index 8d662ec98..57f1d58cb 100644
--- a/src/render/normalopenglgraphics.cpp
+++ b/src/render/normalopenglgraphics.cpp
@@ -358,6 +358,12 @@ bool NormalOpenGLGraphics::drawImageInline(const Image *const image,
return true;
}
+bool NormalOpenGLGraphics::copyImage(const Image *const image,
+ int dstX, int dstY)
+{
+ return drawImageInline(image, dstX, dstY);
+}
+
void NormalOpenGLGraphics::testDraw()
{
if (OpenGLImageHelper::mTextureType == GL_TEXTURE_2D)