Fix issue with GRRLIB_DrawImg

This commit is contained in:
Arthur LE MOIGNE 2022-09-11 12:52:29 +02:00 committed by Crayon
parent 659ff0b86d
commit 506df6ad66

View file

@ -67,8 +67,8 @@ void GRRLIB_DrawImg (const f32 xpos, const f32 ypos, const GRRLIB_texImg *tex,
guMtxRotAxisDeg(m2, &axis, degrees);
guMtxConcat (m2, m1, m);
const u32 width = tex->w * 0.5;
const u32 height = tex->h * 0.5;
const f32 width = tex->w * 0.5;
const f32 height = tex->h * 0.5;
guMtxTransApply(m, m,
xpos +width +tex->handlex