fix sprite log formatting
This commit is contained in:
parent
c4dd372041
commit
0d33c5746f
BIN
res/graphics/box.ase
(Stored with Git LFS)
Normal file
BIN
res/graphics/box.ase
(Stored with Git LFS)
Normal file
Binary file not shown.
BIN
res/graphics/bullet.ase
(Stored with Git LFS)
BIN
res/graphics/bullet.ase
(Stored with Git LFS)
Binary file not shown.
BIN
res/graphics/gun.ase
(Stored with Git LFS)
BIN
res/graphics/gun.ase
(Stored with Git LFS)
Binary file not shown.
BIN
res/graphics/tim.ase
(Stored with Git LFS)
BIN
res/graphics/tim.ase
(Stored with Git LFS)
Binary file not shown.
@ -371,7 +371,7 @@ INTERNAL void cache_node_load_texture(struct cache_node *n, struct sprite_tag ta
|
|||||||
/* TODO: Query renderer for more accurate texture size in VRAM */
|
/* TODO: Query renderer for more accurate texture size in VRAM */
|
||||||
memory_size += (decoded.image.width * decoded.image.height) * sizeof(*decoded.image.pixels);
|
memory_size += (decoded.image.width * decoded.image.height) * sizeof(*decoded.image.pixels);
|
||||||
} else {
|
} else {
|
||||||
logf_error("Sprite \"%F\" not found", path);
|
logf_error("Sprite \"%F\" not found", FMT_STR(path));
|
||||||
}
|
}
|
||||||
#if RESOURCE_RELOADING
|
#if RESOURCE_RELOADING
|
||||||
u64 cpy_len = min_u64(tag.path.len, ARRAY_COUNT(n->tag_path));
|
u64 cpy_len = min_u64(tag.path.len, ARRAY_COUNT(n->tag_path));
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user