mirror of
https://github.com/tiennm99/godot.git
synced 2026-07-25 22:24:20 +00:00
Interleaving draw_rect calls with and without a texture forces every rect to have its own draw call. In this case it meant that there is a draw call for every single tile in the atlas. This change makes it so the renderer can batch draw calls which reduced the draw call count by a factor of 512