summaryrefslogtreecommitdiffhomepage
path: root/src/rmodels.c
diff options
context:
space:
mode:
authorRay <[email protected]>2022-05-31 23:25:21 +0200
committerRay <[email protected]>2022-05-31 23:25:21 +0200
commita28dfbae9f6fcdc0be8521b61a034fc4b7d1e614 (patch)
tree99338d1cb16cb27053966021655b969184a37c83 /src/rmodels.c
parentd0318aac4a7fada53bf3cf5be6d2128db7cff5c3 (diff)
downloadraylib-a28dfbae9f6fcdc0be8521b61a034fc4b7d1e614.tar.gz
raylib-a28dfbae9f6fcdc0be8521b61a034fc4b7d1e614.zip
REVIEWED: Batch limits check #2489
Diffstat (limited to 'src/rmodels.c')
-rw-r--r--src/rmodels.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rmodels.c b/src/rmodels.c
index ce93ee1c..97fa3908 100644
--- a/src/rmodels.c
+++ b/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);