Merge branch 'master' into dev

This commit is contained in:
Filip Sykala 2022-04-06 12:42:00 +02:00
commit 5004897c2d
5 changed files with 0 additions and 2 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.3 MiB

After

Width:  |  Height:  |  Size: 67 KiB

View File

@ -198,7 +198,6 @@ Vec2f GLModel::Geometry::extract_tex_coord_2(size_t id) const
return { *(start + 0), *(start + 1) };
}
#if ENABLE_LEGACY_OPENGL_REMOVAL
void GLModel::Geometry::set_vertex(size_t id, const Vec3f& position, const Vec3f& normal)
{
assert(format.vertex_layout == EVertexLayout::P3N3);
@ -240,7 +239,6 @@ void GLModel::Geometry::remove_vertex(size_t id)
vertices.erase(it, it + stride);
}
}
#endif // ENABLE_LEGACY_OPENGL_REMOVAL
size_t GLModel::Geometry::vertex_stride_floats(const Format& format)
{