mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-08-02 11:33:59 -06:00
Fixed Linux compile
This commit is contained in:
parent
676210d6f4
commit
adca3035f9
1 changed files with 2 additions and 5 deletions
|
@ -1726,11 +1726,8 @@ void GLCanvas3D::_late_init()
|
||||||
// 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 (m_use_VBOs && (m_volumes != nullptr)
|
if (m_use_VBOs && (m_volumes != nullptr))
|
||||||
{
|
m_volumes->finalize_geometry(m_use_VBOs);
|
||||||
m_volumes->finalize_geometry(m_use_VBOs);
|
|
||||||
if ($^O eq 'linux' && $self->UseVBOs);
|
|
||||||
}
|
|
||||||
#endif // __LINUX__
|
#endif // __LINUX__
|
||||||
|
|
||||||
zoom_to_bed();
|
zoom_to_bed();
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue