summaryrefslogtreecommitdiff
path: root/src/render/openglgraphicsdefadvanced.hpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-05-23 12:07:25 +0300
committerAndrei Karas <akaras@inbox.ru>2014-05-23 12:08:54 +0300
commit906332df8779bca71641c6bcdc84d04a1de6d2eb (patch)
tree3571dab23663919ed9c6536c19ba14e850ab4581 /src/render/openglgraphicsdefadvanced.hpp
parentdee232be436909e84a39e9bc3e8949dbaba38e05 (diff)
downloadmv-906332df8779bca71641c6bcdc84d04a1de6d2eb.tar.gz
mv-906332df8779bca71641c6bcdc84d04a1de6d2eb.tar.bz2
mv-906332df8779bca71641c6bcdc84d04a1de6d2eb.tar.xz
mv-906332df8779bca71641c6bcdc84d04a1de6d2eb.zip
Add functions for resize batch size (OpenGL).
Diffstat (limited to 'src/render/openglgraphicsdefadvanced.hpp')
-rw-r--r--src/render/openglgraphicsdefadvanced.hpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/render/openglgraphicsdefadvanced.hpp b/src/render/openglgraphicsdefadvanced.hpp
index 07c706af3..bb45035c3 100644
--- a/src/render/openglgraphicsdefadvanced.hpp
+++ b/src/render/openglgraphicsdefadvanced.hpp
@@ -23,7 +23,7 @@
public:
inline void drawVertexes(const NormalOpenGLGraphicsVertexes &ogl);
- void initArrays() override final;
+ void initArrays(const int vertCount) override final;
#ifdef DEBUG_DRAW_CALLS
unsigned int getDrawCalls() const
@@ -36,3 +36,5 @@ public:
protected:
void debugBindTexture(const Image *const image);
+
+ void deleteArraysInternal();