From fa60917580fb5375366aae432c4e9313a9243c65 Mon Sep 17 00:00:00 2001 From: Enrico Turri Date: Mon, 4 Jun 2018 13:18:04 +0200 Subject: [PATCH] Fixed Linux compile --- xs/src/slic3r/GUI/GLCanvas3D.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/xs/src/slic3r/GUI/GLCanvas3D.cpp b/xs/src/slic3r/GUI/GLCanvas3D.cpp index e4db61072d..72d27a00ac 100644 --- a/xs/src/slic3r/GUI/GLCanvas3D.cpp +++ b/xs/src/slic3r/GUI/GLCanvas3D.cpp @@ -1033,8 +1033,8 @@ bool GLCanvas3D::init(bool useVBOs, bool use_legacy_opengl) // In that case the volumes are wainting to be moved to Vertex Buffer Objects // after the OpenGL context is being initialized. #if defined(__LINUX__) - if (use_VBOs && (m_volumes != nullptr)) - m_volumes->finalize_geometry(use_VBOs); + if (useVBOs && (m_volumes != nullptr)) + m_volumes->finalize_geometry(useVBOs); #endif // __LINUX__ //@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@