mirror of
https://github.com/FULU-Foundation/OrcaSlicer-bambulab.git
synced 2026-11-09 03:12:26 +00:00
Fixed Linux compile
This commit is contained in:
1 parent
ac47ba5864
commit
fa60917580
1 file changed
+2
-2
@@ -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
|
// In that case the volumes are wainting to be moved to Vertex Buffer Objects
|
||||||
// after the OpenGL context is being initialized.
|
// after the OpenGL context is being initialized.
|
||||||
#if defined(__LINUX__)
|
#if defined(__LINUX__)
|
||||||
if (use_VBOs && (m_volumes != nullptr))
|
if (useVBOs && (m_volumes != nullptr))
|
||||||
m_volumes->finalize_geometry(use_VBOs);
|
m_volumes->finalize_geometry(useVBOs);
|
||||||
#endif // __LINUX__
|
#endif // __LINUX__
|
||||||
//@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
|
//@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user