clang-format on /apps/demos/bunnymark files
This commit is contained in:
@ -138,6 +138,7 @@ void render_sprites(const Primitive2D primitives[],
|
||||
const size_t cur = batch.mode == TEXTURE_MODE_GHOSTLY ? i : batch.size - i - 1;
|
||||
const SpritePrimitive sprite = primitives[cur].sprite;
|
||||
|
||||
/* TODO: try caching it */
|
||||
const Rect srcrect =
|
||||
textures_get_srcrect(&ctx.texture_cache, primitives[cur].sprite.texture_key);
|
||||
|
||||
|
Reference in New Issue
Block a user