Reviewed batch buffer overflow #2526

This commit is contained in:
Ray 2022-06-21 20:28:50 +02:00
parent 68c7cc0cc4
commit 5044ce9de3

View file

@ -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);