diff options
author | Andrei Karas <akaras@inbox.ru> | 2014-06-10 21:53:05 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2014-06-10 21:58:33 +0300 |
commit | 01e2d489c4346d6d3862023f3da40f809da45fe6 (patch) | |
tree | 469165999522e80edb8830bf1a2dcb369d690a9d /src/render/modernopenglgraphics.h | |
parent | 960d6010125af65db183c3998d890299c577f326 (diff) | |
download | mv-01e2d489c4346d6d3862023f3da40f809da45fe6.tar.gz mv-01e2d489c4346d6d3862023f3da40f809da45fe6.tar.bz2 mv-01e2d489c4346d6d3862023f3da40f809da45fe6.tar.xz mv-01e2d489c4346d6d3862023f3da40f809da45fe6.zip |
In modernopengl implimented drawpattern.
Diffstat (limited to 'src/render/modernopenglgraphics.h')
-rw-r--r-- | src/render/modernopenglgraphics.h | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/src/render/modernopenglgraphics.h b/src/render/modernopenglgraphics.h index 34124bacc..1fed5d371 100644 --- a/src/render/modernopenglgraphics.h +++ b/src/render/modernopenglgraphics.h @@ -73,10 +73,12 @@ class ModernOpenGLGraphics final : public Graphics #include "render/openglgraphicsdefadvanced.hpp" private: - void drawQuad(const Image *const image, - const int srcX, const int srcY, - const int dstX, const int dstY, - const int width, const int height); + inline void drawQuad(const Image *const image, + const int srcX, const int srcY, + const int dstX, const int dstY, + const int width, const int height); + + inline void drawTriangleArray(const int size); GLfloat *mFloatArray; GLfloat *mFloatArrayCached; |