From 7c1b9d0a32a9ee9547e0d5a4e27219ab9ab3ccf8 Mon Sep 17 00:00:00 2001 From: Ray Date: Sun, 7 Jun 2026 22:53:36 +0200 Subject: [PATCH] Update textures_image_drawing.c --- examples/textures/textures_image_drawing.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/examples/textures/textures_image_drawing.c b/examples/textures/textures_image_drawing.c index ea41b7baf..640a9c45c 100644 --- a/examples/textures/textures_image_drawing.c +++ b/examples/textures/textures_image_drawing.c @@ -39,7 +39,8 @@ int main(void) Image parrots = LoadImage("resources/parrots.png"); // Load image in CPU memory (RAM) // Draw one image over the other with a scaling of 1.5f - ImageDraw(&parrots, cat, (Rectangle){ 0, 0, (float)cat.width, (float)cat.height }, (Rectangle){ 30, 40, cat.width*1.5f, cat.height*1.5f }, WHITE); + ImageDrawImagePro(&parrots, cat, (Rectangle){ 0, 0, (float)cat.width, (float)cat.height }, + (Rectangle){ 30, 40, cat.width*1.5f, cat.height*1.5f }, (Vector2){ 0 }, 0.0f, WHITE); ImageCrop(&parrots, (Rectangle){ 0, 50, (float)parrots.width, (float)parrots.height - 100 }); // Crop resulting image // Draw on the image with a few image draw methods