From 00d8cfee5bc76c59e5c3195f4434c4a4fb741d0e Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Mon, 30 Dec 2013 18:19:40 +0300 Subject: add drawImageRect into each renderer. but copy function body to shared file. --- src/render/nullopenglgraphics.cpp | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'src/render/nullopenglgraphics.cpp') diff --git a/src/render/nullopenglgraphics.cpp b/src/render/nullopenglgraphics.cpp index da9163294..aa5a5861b 100644 --- a/src/render/nullopenglgraphics.cpp +++ b/src/render/nullopenglgraphics.cpp @@ -1133,6 +1133,13 @@ void NullOpenGLGraphics::restoreColor() mByteColor = mColor; } +void NullOpenGLGraphics::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 NullOpenGLGraphics::debugBindTexture(const Image *const image) { -- cgit v1.2.3-60-g2f50