TINYGL: reduce memory allocation
This commit is contained in:
parent
65935ec05e
commit
2db6ed40b4
1 changed files with 1 additions and 1 deletions
|
@ -261,7 +261,7 @@ void GLContext::init(int screenW, int screenH, Graphics::PixelFormat pixelFormat
|
|||
// color mask
|
||||
color_mask_red = color_mask_green = color_mask_blue = color_mask_alpha = true;
|
||||
|
||||
const size_t kDrawCallMemory = 1024 * 1024 * 1024;
|
||||
const size_t kDrawCallMemory = 60ULL * 1024ULL * 1024ULL;
|
||||
|
||||
_currentAllocatorIndex = 0;
|
||||
_drawCallAllocator[0].initialize(kDrawCallMemory);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue