diff options
author | clayjohn <claynjohn@gmail.com> | 2022-11-04 13:04:20 -0700 |
---|---|---|
committer | clayjohn <claynjohn@gmail.com> | 2022-11-04 13:04:20 -0700 |
commit | 3c1e5003abf91c9f37055f0e3ed6ada72859a382 (patch) | |
tree | 27e5476308fbba520ce3e80f3df7edf05e5070ac /core/extension/native_extension.cpp | |
parent | 191c8ed12f624ec97b650b2726fed4e8c4bcf04c (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 'core/extension/native_extension.cpp')
0 files changed, 0 insertions, 0 deletions