msvc build fix

This commit is contained in:
MihailRis
2023-12-01 19:04:13 +03:00
parent 647662b0d3
commit 2ebaad6cb6
2 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -84,7 +84,7 @@ void Batch3D::face(const vec3& coord, float w, float h,
const vec3& axisY,
const UVRegion& region,
const vec4& tint) {
if (index + VERTEX_SIZE * 4 > capacity) {
if (index + VERTEX_SIZE * 6 > capacity) {
flush();
}
vertex(coord, region.u1, region.v1,