ソースを参照

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

読み込み中…
キャンセル
保存