From 6b6fb9f692113b56098d2076339e2d4e136c40fd Mon Sep 17 00:00:00 2001 From: enricoturri1966 Date: Tue, 5 Apr 2022 10:04:36 +0200 Subject: [PATCH] Tech ENABLE_LEGACY_OPENGL_REMOVAL - Removed redundand #if/#endif into GLModel.cpp --- src/slic3r/GUI/GLModel.cpp | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/slic3r/GUI/GLModel.cpp b/src/slic3r/GUI/GLModel.cpp index 75998609b..e6bdae415 100644 --- a/src/slic3r/GUI/GLModel.cpp +++ b/src/slic3r/GUI/GLModel.cpp @@ -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) {