瀏覽代碼

REVIEWED: Batch limits check #2489

pull/2503/head
Ray 2 年之前
父節點
當前提交
a28dfbae9f
共有 1 個檔案被更改,包括 1 行新增1 行删除
  1. +1
    -1
      src/rmodels.c

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

@ -200,7 +200,7 @@ void DrawCircle3D(Vector3 center, float radius, Vector3 rotationAxis, float rota
// Draw a color-filled triangle (vertex in counter-clockwise order!)
void DrawTriangle3D(Vector3 v1, Vector3 v2, Vector3 v3, Color color)
{
rlCheckRenderBatchLimit(3);
rlCheckRenderBatchLimit(8);
rlBegin(RL_TRIANGLES);
rlColor4ub(color.r, color.g, color.b, color.a);

Loading…
取消
儲存