summaryrefslogtreecommitdiff
path: root/icon_outlined.png
diff options
context:
space:
mode:
authorclayjohn <claynjohn@gmail.com>2022-11-04 13:04:20 -0700
committerclayjohn <claynjohn@gmail.com>2022-11-04 13:04:20 -0700
commit3c1e5003abf91c9f37055f0e3ed6ada72859a382 (patch)
tree27e5476308fbba520ce3e80f3df7edf05e5070ac /icon_outlined.png
parent191c8ed12f624ec97b650b2726fed4e8c4bcf04c (diff)
Fix pathological corner case in drawing tileset editor
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
Diffstat (limited to 'icon_outlined.png')
0 files changed, 0 insertions, 0 deletions