mirror of
https://github.com/libsdl-org/SDL.git
synced 2026-09-22 03:04:51 +08:00
gles2: Make render command queue dynamic.
It now uses a growable linked list that keeps a pool of allocated items for reuse, and reallocs the vertex array as necessary. Testsprite2 can scale to 20,000 (or more!) draws now without drama.
This commit is contained in: