diff options
| author | Ray <[email protected]> | 2022-06-21 20:28:50 +0200 |
|---|---|---|
| committer | Ray <[email protected]> | 2022-06-21 20:28:50 +0200 |
| commit | 5044ce9de3949c9696af34eba34e021935229d18 (patch) | |
| tree | 2242c903a009ad91a2db799ca04ecc8809d8aa4b /src | |
| parent | 68c7cc0cc44c93e82cd45b17a5d6e1aa7f23aa54 (diff) | |
| download | raylib-5044ce9de3949c9696af34eba34e021935229d18.tar.gz raylib-5044ce9de3949c9696af34eba34e021935229d18.zip | |
Reviewed batch buffer overflow #2526
Diffstat (limited to 'src')
| -rw-r--r-- | src/rmodels.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rmodels.c b/src/rmodels.c index af7e0cd7..96af9f83 100644 --- a/src/rmodels.c +++ b/src/rmodels.c @@ -3396,7 +3396,7 @@ void DrawBillboardPro(Camera camera, Texture2D texture, Rectangle source, Vector bottomRight = Vector3Add(bottomRight, position); bottomLeft = Vector3Add(bottomLeft, position); - rlCheckRenderBatchLimit(4); + rlCheckRenderBatchLimit(8); rlSetTexture(texture.id); |
