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
Reference in a new issue