diff options
author | Andrei Karas <akaras@inbox.ru> | 2013-12-30 18:19:40 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2013-12-30 18:21:13 +0300 |
commit | 00d8cfee5bc76c59e5c3195f4434c4a4fb741d0e (patch) | |
tree | c536958c8cf2308bd38d92a414e6af0a64a3c844 /src/render/safeopenglgraphics.cpp | |
parent | 252bfdaf28d9cfa449e6b0af7a15b66483b9c5bd (diff) | |
download | plus-00d8cfee5bc76c59e5c3195f4434c4a4fb741d0e.tar.gz plus-00d8cfee5bc76c59e5c3195f4434c4a4fb741d0e.tar.bz2 plus-00d8cfee5bc76c59e5c3195f4434c4a4fb741d0e.tar.xz plus-00d8cfee5bc76c59e5c3195f4434c4a4fb741d0e.zip |
add drawImageRect into each renderer. but copy function body to shared file.
Diffstat (limited to 'src/render/safeopenglgraphics.cpp')
-rw-r--r-- | src/render/safeopenglgraphics.cpp | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/render/safeopenglgraphics.cpp b/src/render/safeopenglgraphics.cpp index f92455e58..b2e7cd3c0 100644 --- a/src/render/safeopenglgraphics.cpp +++ b/src/render/safeopenglgraphics.cpp @@ -656,4 +656,11 @@ void SafeOpenGLGraphics::restoreColor() mByteColor = mColor; } +void SafeOpenGLGraphics::drawImageRect(const int x, const int y, + const int w, const int h, + const ImageRect &imgRect) +{ + #include "render/openglgraphics_drawImageRect.hpp" +} + #endif // USE_OPENGL |