twn_textures.c: fix srcrect setting on atlas rebuild
This commit is contained in:
@ -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 },
|
||||
|
Reference in New Issue
Block a user