WARNING: BREAKING: REDESIGNED: ImageDraw() API, align with DrawTexture()
This commit is contained in:
parent
26d82cf55d
commit
aebfd788c7
3 changed files with 28 additions and 9 deletions
|
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue