Reviewed batch buffer overflow #2526
This commit is contained in:
parent
68c7cc0cc4
commit
5044ce9de3
|
|
@ -3396,7 +3396,7 @@ void DrawBillboardPro(Camera camera, Texture2D texture, Rectangle source, Vector
|
||||||
bottomRight = Vector3Add(bottomRight, position);
|
bottomRight = Vector3Add(bottomRight, position);
|
||||||
bottomLeft = Vector3Add(bottomLeft, position);
|
bottomLeft = Vector3Add(bottomLeft, position);
|
||||||
|
|
||||||
rlCheckRenderBatchLimit(4);
|
rlCheckRenderBatchLimit(8);
|
||||||
|
|
||||||
rlSetTexture(texture.id);
|
rlSetTexture(texture.id);
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user