summaryrefslogtreecommitdiff
path: root/src/render/mobileopenglgraphics.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2013-12-30 18:19:40 +0300
committerAndrei Karas <akaras@inbox.ru>2013-12-30 18:21:13 +0300
commit00d8cfee5bc76c59e5c3195f4434c4a4fb741d0e (patch)
treec536958c8cf2308bd38d92a414e6af0a64a3c844 /src/render/mobileopenglgraphics.cpp
parent252bfdaf28d9cfa449e6b0af7a15b66483b9c5bd (diff)
downloadmanaverse-00d8cfee5bc76c59e5c3195f4434c4a4fb741d0e.tar.gz
manaverse-00d8cfee5bc76c59e5c3195f4434c4a4fb741d0e.tar.bz2
manaverse-00d8cfee5bc76c59e5c3195f4434c4a4fb741d0e.tar.xz
manaverse-00d8cfee5bc76c59e5c3195f4434c4a4fb741d0e.zip
add drawImageRect into each renderer. but copy function body to shared file.
Diffstat (limited to 'src/render/mobileopenglgraphics.cpp')
-rw-r--r--src/render/mobileopenglgraphics.cpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/render/mobileopenglgraphics.cpp b/src/render/mobileopenglgraphics.cpp
index 5efcd8060..33adf6e92 100644
--- a/src/render/mobileopenglgraphics.cpp
+++ b/src/render/mobileopenglgraphics.cpp
@@ -1258,6 +1258,13 @@ void MobileOpenGLGraphics::restoreColor()
mByteColor = mColor;
}
+void MobileOpenGLGraphics::drawImageRect(const int x, const int y,
+ const int w, const int h,
+ const ImageRect &imgRect)
+{
+ #include "render/openglgraphics_drawImageRect.hpp"
+}
+
#ifdef DEBUG_BIND_TEXTURE
void MobileOpenGLGraphics::debugBindTexture(const Image *const image)
{