Optimize level renderer to reduce frame drops

This commit is contained in:
Lucas S. Vieira 2024-09-17 20:00:29 -03:00
parent b2fa19cdfa
commit 0acbb69b10
4 changed files with 53 additions and 65 deletions

View file

@ -17,9 +17,9 @@
// Size of the buffer GPU commands and primitives are written to. If the program
// crashes due to too many primitives being drawn, increase this value.
//#define BUFFER_LENGTH 8192
//#define BUFFER_LENGTH 24576
#define BUFFER_LENGTH 24576
//#define BUFFER_LENGTH 40960
#define BUFFER_LENGTH 65532
//#define BUFFER_LENGTH 65532
/* Framebuffer/display list class */