Skip to content

Commit

Permalink
Refactor
Browse files Browse the repository at this point in the history
  • Loading branch information
matt77hias committed Jun 15, 2017
1 parent f200e57 commit 8fc7510
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion MAGE/MAGE/src/sprite/sprite_batch.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ namespace mage {

void SpriteBatch::GrowSpriteQueue() {
const size_t sprite_queue_array_size =
std::max(SpriteBatch::initial_queue_size, m_sprite_queue_array_size * 2);
std::max(SpriteBatch::s_initial_queue_size, m_sprite_queue_array_size * 2);
UniquePtr< SpriteInfo[] > sprite_queue(new SpriteInfo[sprite_queue_array_size]);

for (size_t i = 0; i < m_sprite_queue_size; ++i) {
Expand Down
2 changes: 1 addition & 1 deletion MAGE/MAGE/src/sprite/sprite_batch.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -545,6 +545,6 @@ namespace mage {
The initial size of the queue containing the sprites waiting
to be drawn by a sprite batch.
*/
static const size_t initial_queue_size = 64;
static const size_t s_initial_queue_size = 64;
};
}

0 comments on commit 8fc7510

Please sign in to comment.