mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-05 19:11:50 +00:00
msvc build fix
This commit is contained in:
parent
647662b0d3
commit
2ebaad6cb6
2 changed files with 3 additions and 3 deletions
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue