mirror of https://github.com/axmolengine/axmol.git
Fix typo in constant name
This commit is contained in:
parent
62f1762ea9
commit
17dfd03fa7
|
@ -215,7 +215,7 @@ Renderer::Renderer()
|
||||||
|
|
||||||
RenderQueue defaultRenderQueue;
|
RenderQueue defaultRenderQueue;
|
||||||
_renderGroups.push_back(defaultRenderQueue);
|
_renderGroups.push_back(defaultRenderQueue);
|
||||||
_queuedTriangleCommands.reserve(BATCH_TRIAGCOMMAND_RESEVER_SIZE);
|
_queuedTriangleCommands.reserve(BATCH_TRIAGCOMMAND_RESERVED_SIZE);
|
||||||
|
|
||||||
// default clear color
|
// default clear color
|
||||||
_clearColor = Color4F::BLACK;
|
_clearColor = Color4F::BLACK;
|
||||||
|
|
|
@ -144,8 +144,8 @@ public:
|
||||||
static const int VBO_SIZE = 65536;
|
static const int VBO_SIZE = 65536;
|
||||||
/**The max number of indices in a index buffer.*/
|
/**The max number of indices in a index buffer.*/
|
||||||
static const int INDEX_VBO_SIZE = VBO_SIZE * 6 / 4;
|
static const int INDEX_VBO_SIZE = VBO_SIZE * 6 / 4;
|
||||||
/**The rendercommands which can be batched will be saved into a list, this is the reversed size of this list.*/
|
/**The rendercommands which can be batched will be saved into a list, this is the reserved size of this list.*/
|
||||||
static const int BATCH_TRIAGCOMMAND_RESEVER_SIZE = 64;
|
static const int BATCH_TRIAGCOMMAND_RESERVED_SIZE = 64;
|
||||||
/**Reserved for material id, which means that the command could not be batched.*/
|
/**Reserved for material id, which means that the command could not be batched.*/
|
||||||
static const int MATERIAL_ID_DO_NOT_BATCH = 0;
|
static const int MATERIAL_ID_DO_NOT_BATCH = 0;
|
||||||
/**Constructor.*/
|
/**Constructor.*/
|
||||||
|
|
Loading…
Reference in New Issue