summaryrefslogtreecommitdiff
path: root/src/render/nullopenglgraphics.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-06-29 22:31:02 +0300
committerAndrei Karas <akaras@inbox.ru>2014-06-29 22:31:02 +0300
commitbe877e12682b6f0e697b024f96a1dcaf4d0c8206 (patch)
treebe1277cc745460055c98242a5b1223b4853f381a /src/render/nullopenglgraphics.cpp
parentc23b922eecefd6cd6421139cf7ec2b59eb87d748 (diff)
downloadplus-be877e12682b6f0e697b024f96a1dcaf4d0c8206.tar.gz
plus-be877e12682b6f0e697b024f96a1dcaf4d0c8206.tar.bz2
plus-be877e12682b6f0e697b024f96a1dcaf4d0c8206.tar.xz
plus-be877e12682b6f0e697b024f96a1dcaf4d0c8206.zip
In renderers add copyImage function.
For now it same with drawImage.
Diffstat (limited to 'src/render/nullopenglgraphics.cpp')
-rw-r--r--src/render/nullopenglgraphics.cpp6
1 files changed, 6 insertions, 0 deletions
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)
{