From 5044ce9de3949c9696af34eba34e021935229d18 Mon Sep 17 00:00:00 2001 From: Ray Date: Tue, 21 Jun 2022 20:28:50 +0200 Subject: [PATCH] Reviewed batch buffer overflow #2526 --- src/rmodels.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/rmodels.c b/src/rmodels.c index af7e0cd76..96af9f83f 100644 --- a/src/rmodels.c +++ b/src/rmodels.c @@ -3396,7 +3396,7 @@ void DrawBillboardPro(Camera camera, Texture2D texture, Rectangle source, Vector bottomRight = Vector3Add(bottomRight, position); bottomLeft = Vector3Add(bottomLeft, position); - rlCheckRenderBatchLimit(4); + rlCheckRenderBatchLimit(8); rlSetTexture(texture.id);