Fix typo in constant name

This commit is contained in:
mogemimi 2016-07-21 00:49:19 +09:00
parent 62f1762ea9
commit 17dfd03fa7
2 changed files with 3 additions and 3 deletions

View File

@ -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;

View File

@ -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.*/