From 73b201b702ac749188791ebb92c822843ff6436f Mon Sep 17 00:00:00 2001 From: "Huabing.Xu" Date: Fri, 5 Sep 2014 16:01:17 +0800 Subject: [PATCH] roll back, VBO_SIZE to 65536, INDEX_VBO_SIZE to 65536 * 1.5 --- cocos/renderer/CCRenderer.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cocos/renderer/CCRenderer.h b/cocos/renderer/CCRenderer.h index b02fe47184..35da31e076 100644 --- a/cocos/renderer/CCRenderer.h +++ b/cocos/renderer/CCRenderer.h @@ -76,8 +76,8 @@ Whenever possible prefer to use `QuadCommand` objects since the renderer will au class CC_DLL Renderer { public: - static const int VBO_SIZE = 8192; - static const int INDEX_VBO_SIZE = 8192 * 6 / 4; + static const int VBO_SIZE = 65536; + static const int INDEX_VBO_SIZE = VBO_SIZE * 6 / 4; static const int BATCH_QUADCOMMAND_RESEVER_SIZE = 64;