diff --git a/src/render/get_sprite_pixel.cpp b/src/render/get_sprite_pixel.cpp index 30dbf4581..7a0d0e50b 100644 --- a/src/render/get_sprite_pixel.cpp +++ b/src/render/get_sprite_pixel.cpp @@ -36,9 +36,7 @@ color_t get_sprite_pixel(const Sprite* sprite, render.setProjection(proj); render.renderSprite( image.get(), sprite, frame, - gfx::ClipF(0, 0, - proj.applyX(x), proj.applyY(y), - proj.applyX(1), proj.applyY(1))); + gfx::ClipF(0, 0, proj.applyX(x), proj.applyY(y), 1, 1)); color = get_pixel(image.get(), 0, 0); }