WARNING: BREAKING: REDESIGNED: ImageDraw() API, align with DrawTexture()

This commit is contained in:
Ray
2026-06-07 21:53:07 +02:00
parent 26d82cf55d
commit aebfd788c7
3 changed files with 28 additions and 9 deletions
+1 -1
View File
@@ -2673,7 +2673,7 @@ static Font LoadBMFont(const char *fileName)
{
Rectangle srcRec = { 0.0f, 0.0f, (float)imWidth, (float)imHeight };
Rectangle dstRec = { 0.0f, (float)imHeight*(float)i, (float)imWidth, (float)imHeight };
ImageDraw(&fullFont, imFonts[i], srcRec, dstRec, WHITE);
ImageDrawImagePro(&fullFont, imFonts[i], srcRec, dstRec, (Vector2){ 0 }, 0.0f, WHITE);
}
}