msvc build fix
This commit is contained in:
parent
647662b0d3
commit
2ebaad6cb6
@ -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,
|
||||
|
||||
@ -2,8 +2,8 @@
|
||||
|
||||
Block::Block(std::string name)
|
||||
: name(name),
|
||||
textureFaces({"notfound","notfound","notfound",
|
||||
"notfound","notfound","notfound",}) {
|
||||
textureFaces {"notfound","notfound","notfound",
|
||||
"notfound","notfound","notfound",} {
|
||||
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user