summaryrefslogtreecommitdiff
path: root/src/render/graphics.cpp
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/graphics.cpp
parentdee232be436909e84a39e9bc3e8949dbaba38e05 (diff)
downloadplus-906332df8779bca71641c6bcdc84d04a1de6d2eb.tar.gz
plus-906332df8779bca71641c6bcdc84d04a1de6d2eb.tar.bz2
plus-906332df8779bca71641c6bcdc84d04a1de6d2eb.tar.xz
plus-906332df8779bca71641c6bcdc84d04a1de6d2eb.zip
Add functions for resize batch size (OpenGL).
Diffstat (limited to 'src/render/graphics.cpp')
-rw-r--r--src/render/graphics.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/render/graphics.cpp b/src/render/graphics.cpp
index baceeacc1..44307add7 100644
--- a/src/render/graphics.cpp
+++ b/src/render/graphics.cpp
@@ -293,7 +293,7 @@ bool Graphics::setOpenGLMode()
(gotDoubleBuffer ? "with" : "without"));
graphicsManager.initOpenGL();
- initArrays();
+ initArrays(graphicsManager.getMaxVertices());
graphicsManager.updateTextureFormat();
updateMemoryInfo();