mirror of
https://github.com/qgis/QGIS.git
synced 2025-10-05 00:09:32 -04:00
The number of available clip planes depends on the OpenGL implementation. This change Introduces a new function in Qgs3DUtils function called `Qgs3DUtils::getOpenGLMaxClipPlanes` to compute this number (`GL_MAX_CLIP_PLANES`) and use it in the 3D scene. See: https://registry.khronos.org/OpenGL-Refpages/gl2.1/xhtml/glClipPlane.xml