mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-10-28 03:01:17 -06:00
Fixed Linux compile
This commit is contained in:
parent
ac47ba5864
commit
fa60917580
1 changed files with 2 additions and 2 deletions
|
|
@ -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__
|
||||||
//@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
|
//@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue