mirror of https://github.com/axmolengine/axmol.git
Merge pull request #16177 from mogemimi/fix-constant-spelling
Fix typo in constant name
This commit is contained in:
commit
b8f8ff0d25
|
@ -215,7 +215,7 @@ Renderer::Renderer()
|
|||
|
||||
RenderQueue defaultRenderQueue;
|
||||
_renderGroups.push_back(defaultRenderQueue);
|
||||
_queuedTriangleCommands.reserve(BATCH_TRIAGCOMMAND_RESEVER_SIZE);
|
||||
_queuedTriangleCommands.reserve(BATCH_TRIAGCOMMAND_RESERVED_SIZE);
|
||||
|
||||
// default clear color
|
||||
_clearColor = Color4F::BLACK;
|
||||
|
|
|
@ -144,8 +144,8 @@ public:
|
|||
static const int VBO_SIZE = 65536;
|
||||
/**The max number of indices in a index buffer.*/
|
||||
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.*/
|
||||
static const int BATCH_TRIAGCOMMAND_RESEVER_SIZE = 64;
|
||||
/**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_RESERVED_SIZE = 64;
|
||||
/**Reserved for material id, which means that the command could not be batched.*/
|
||||
static const int MATERIAL_ID_DO_NOT_BATCH = 0;
|
||||
/**Constructor.*/
|
||||
|
|
Loading…
Reference in New Issue