From 01e2d489c4346d6d3862023f3da40f809da45fe6 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Tue, 10 Jun 2014 21:53:05 +0300 Subject: In modernopengl implimented drawpattern. --- src/render/modernopenglgraphics.h | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) (limited to 'src/render/modernopenglgraphics.h') 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; -- cgit v1.2.3-60-g2f50