diff options
author | Andrei Karas <akaras@inbox.ru> | 2014-06-29 22:31:02 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2014-06-29 22:31:02 +0300 |
commit | be877e12682b6f0e697b024f96a1dcaf4d0c8206 (patch) | |
tree | be1277cc745460055c98242a5b1223b4853f381a /src/render/normalopenglgraphics.cpp | |
parent | c23b922eecefd6cd6421139cf7ec2b59eb87d748 (diff) | |
download | mv-be877e12682b6f0e697b024f96a1dcaf4d0c8206.tar.gz mv-be877e12682b6f0e697b024f96a1dcaf4d0c8206.tar.bz2 mv-be877e12682b6f0e697b024f96a1dcaf4d0c8206.tar.xz mv-be877e12682b6f0e697b024f96a1dcaf4d0c8206.zip |
In renderers add copyImage function.
For now it same with drawImage.
Diffstat (limited to 'src/render/normalopenglgraphics.cpp')
-rw-r--r-- | src/render/normalopenglgraphics.cpp | 6 |
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) |