summaryrefslogtreecommitdiff
path: root/src/render/safeopenglgraphics.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2013-12-30 21:21:40 +0300
committerAndrei Karas <akaras@inbox.ru>2013-12-30 21:21:40 +0300
commit9aa2b0ffb97f8a1b5ae5201983318d03615c11e1 (patch)
tree21df896ff8139745775d41c1c8f82a4c6431698e /src/render/safeopenglgraphics.cpp
parent96f7714510cba0a84cd749869f236188473c4553 (diff)
downloadmanaplus-9aa2b0ffb97f8a1b5ae5201983318d03615c11e1.tar.gz
manaplus-9aa2b0ffb97f8a1b5ae5201983318d03615c11e1.tar.bz2
manaplus-9aa2b0ffb97f8a1b5ae5201983318d03615c11e1.tar.xz
manaplus-9aa2b0ffb97f8a1b5ae5201983318d03615c11e1.zip
add calcPatternInline into renders for internal usage.
Diffstat (limited to 'src/render/safeopenglgraphics.cpp')
-rw-r--r--src/render/safeopenglgraphics.cpp13
1 files changed, 11 insertions, 2 deletions
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