From 2db6ed40b4c46f6854a71dc0e0d9f72984dfa0fb Mon Sep 17 00:00:00 2001 From: grisenti Date: Sat, 3 Dec 2022 16:15:47 +0100 Subject: [PATCH] TINYGL: reduce memory allocation --- graphics/tinygl/init.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/graphics/tinygl/init.cpp b/graphics/tinygl/init.cpp index 553e7e43ce4..f6a5c05a870 100644 --- a/graphics/tinygl/init.cpp +++ b/graphics/tinygl/init.cpp @@ -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);