Fixed build when tech ENABLE_GL_SHADERS_ATTRIBUTES is disabled
This commit is contained in:
parent
6b6fb9f692
commit
2de1b863bb
1 changed files with 1 additions and 1 deletions
|
@ -5343,7 +5343,7 @@ void GLCanvas3D::_picking_pass()
|
|||
#if !ENABLE_GL_SHADERS_ATTRIBUTES
|
||||
m_camera_clipping_plane = m_gizmos.get_clipping_plane();
|
||||
if (m_camera_clipping_plane.is_active()) {
|
||||
::glClipPlane(GL_CLIP_PLANE0, (GLdouble*)m_camera_clipping_plane.get_data());
|
||||
::glClipPlane(GL_CLIP_PLANE0, (GLdouble*)m_camera_clipping_plane.get_data().data());
|
||||
::glEnable(GL_CLIP_PLANE0);
|
||||
}
|
||||
#endif // !ENABLE_GL_SHADERS_ATTRIBUTES
|
||||
|
|
Loading…
Reference in a new issue