1
0
mirror of https://github.com/libretro/RetroArch synced 2025-02-18 00:40:36 +00:00

(Metal raster font) Buildfix

This commit is contained in:
libretroadmin 2022-05-16 22:48:33 +02:00
parent 3115338849
commit 0a5eff8468

@ -272,6 +272,7 @@ static INLINE void write_quad6(SpriteVertex *pv,
posY:(float)posY
aligned:(unsigned)aligned
{
const struct font_glyph* glyph_q;
const char *msg_end = msg + length;
int x = (int)roundf(posX * _driver.viewport->full_width);
int y = (int)roundf((1.0f - posY) * _driver.viewport->full_height);