From 9aa2b0ffb97f8a1b5ae5201983318d03615c11e1 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Mon, 30 Dec 2013 21:21:40 +0300 Subject: add calcPatternInline into renders for internal usage. --- src/render/safeopenglgraphics.cpp | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) (limited to 'src/render/safeopenglgraphics.cpp') diff --git a/src/render/safeopenglgraphics.cpp b/src/render/safeopenglgraphics.cpp index 90dfe2e5b..b5a82b1fd 100644 --- a/src/render/safeopenglgraphics.cpp +++ b/src/render/safeopenglgraphics.cpp @@ -365,6 +365,15 @@ void SafeOpenGLGraphics::calcPattern(ImageVertexes *const vert A_UNUSED, { } +void SafeOpenGLGraphics::calcPatternInline(ImageVertexes *const vert A_UNUSED, + const Image *const image A_UNUSED, + const int x A_UNUSED, + const int y A_UNUSED, + const int w A_UNUSED, + const int h A_UNUSED) const +{ +} + void SafeOpenGLGraphics::calcPattern(ImageCollection *const vert A_UNUSED, const Image *const image A_UNUSED, const int x A_UNUSED, @@ -664,7 +673,7 @@ void SafeOpenGLGraphics::drawImageRect(const int x, const int y, const int w, const int h, const ImageRect &imgRect) { - #include "render/openglgraphics_drawImageRect.hpp" + #include "render/graphics_drawImageRect.hpp" } void SafeOpenGLGraphics::calcImageRect(ImageVertexes *const vert, @@ -672,7 +681,7 @@ void SafeOpenGLGraphics::calcImageRect(ImageVertexes *const vert, const int w, const int h, const ImageRect &imgRect) { - #include "render/openglgraphics_calcImageRect.hpp" + #include "render/graphics_calcImageRect.hpp" } #endif // USE_OPENGL -- cgit v1.2.3-60-g2f50