mirror of
https://github.com/GRRLIB/GRRLIB.git
synced 2024-11-22 06:52:20 +00:00
Fix issue with GRRLIB_DrawImg
This commit is contained in:
parent
659ff0b86d
commit
506df6ad66
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue