twn_textures.c: fix srcrect setting on atlas rebuild

This commit is contained in:
veclavtalica committed 2024-09-23 11:51:18 +03:00
1 parent f705546644
commit 0ef8a6233f
2 files changed
+13 -7

No files matched your search

+2 -2
View File
@@ -94,9 +94,9 @@ static void ingame_tick(struct state *state) {
(t_fvec3){ (float)x, d0, (float)y },
(t_fvec3){ (float)x + 1, d1, (float)y },
(t_fvec3){ (float)x, d3, (float)y - 1 },
(t_shvec2){ 0, 768 },
(t_shvec2){ 1024, 768 },
(t_shvec2){ 1024, 0 });
(t_shvec2){ 1024, 0 },
(t_shvec2){ 0, 768 });
unfurl_triangle("/assets/grass.gif",
(t_fvec3){ (float)x + 1, d1, (float)y },