diff options
| author | realtradam <[email protected]> | 2023-05-30 04:28:14 -0400 |
|---|---|---|
| committer | realtradam <[email protected]> | 2023-05-30 04:28:14 -0400 |
| commit | 7076731c7f72fc4ea3049626475483e91aa11344 (patch) | |
| tree | 9bf06aeb6dac4e6c9c24184c246312fc22c95aa1 /src/sprite.c | |
| parent | 10828e927120cc83ff25cd6fe7fb2267781a6242 (diff) | |
| download | TOJam2023-7076731c7f72fc4ea3049626475483e91aa11344.tar.gz TOJam2023-7076731c7f72fc4ea3049626475483e91aa11344.zip | |
make input normalized and deltad
Diffstat (limited to 'src/sprite.c')
| -rw-r--r-- | src/sprite.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sprite.c b/src/sprite.c index cf7d22d..d966da9 100644 --- a/src/sprite.c +++ b/src/sprite.c @@ -13,7 +13,7 @@ draw_sprite(sprite_t *sprite, float x, float y, float scale, rodeo_color_RGBAFlo .height = (float)sprite->config.height * scale }, &(rodeo_rectangle_t){ - .x = (float)sprite->config.width * (float)sprite->iter, + .x = (float)sprite->config.width * (float)(uint32_t)sprite->iter, .y = 0, .width = (float)sprite->config.width, .height = (float)sprite->config.height |
