mirror of
https://github.com/raysan5/raylib.git
synced 2026-08-29 02:21:35 +00:00
WARNING: BREAKING: REDESIGNED: ImageDraw() API, align with DrawTexture()
This commit is contained in:
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user