瀏覽代碼

Reviewed batch buffer overflow #2526

pull/2534/head
Ray 3 年之前
父節點
當前提交
5044ce9de3
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. +1
    -1
      src/rmodels.c

+ 1
- 1
src/rmodels.c 查看文件

@ -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…
取消
儲存