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