HPL1: add basic tinygl impl classes

This commit is contained in:
grisenti 2022-09-13 21:36:35 +02:00 committed by Eugene Sandulenko
parent 029fcb96bf
commit 304a2df165
No known key found for this signature in database
GPG key ID: 014D387312D34F08
9 changed files with 3033 additions and 11 deletions

View file

@ -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 int kDrawCallMemory = 5 * 1024 * 1024;
const size_t kDrawCallMemory = 1024 * 1024 * 1024;
_currentAllocatorIndex = 0;
_drawCallAllocator[0].initialize(kDrawCallMemory);