From be877e12682b6f0e697b024f96a1dcaf4d0c8206 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Sun, 29 Jun 2014 22:31:02 +0300 Subject: In renderers add copyImage function. For now it same with drawImage. --- src/render/nullopenglgraphics.cpp | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/render/nullopenglgraphics.cpp') diff --git a/src/render/nullopenglgraphics.cpp b/src/render/nullopenglgraphics.cpp index bfe9172c8..dce5f93ee 100644 --- a/src/render/nullopenglgraphics.cpp +++ b/src/render/nullopenglgraphics.cpp @@ -157,6 +157,12 @@ bool NullOpenGLGraphics::drawImage(const Image *const image, return drawImageInline(image, dstX, dstY); } +bool NullOpenGLGraphics::copyImage(const Image *const image, + int dstX, int dstY) +{ + return drawImageInline(image, dstX, dstY); +} + bool NullOpenGLGraphics::drawImageInline(const Image *const image, int dstX, int dstY) { -- cgit v1.2.3-60-g2f50