Files
cgal/GraphicsView/include
Rajdeep Singh cbcc95a47f Basic_viewer: gate modern shaders on GLSL 1.50 (OpenGL 3.2)
The modern Basic_viewer shaders are all #version 150 (OpenGL 3.2), but
shader selection was gated on isOpenGL_4_3(). On core-profile contexts
below 4.3 (e.g. macOS 4.1 core) this routed to the compatibility shaders,
which use legacy GLSL and do not compile on a core profile.

Add a separate is_ogl_3_2 / isOpenGL_3_2() capability flag and use it for
Basic_viewer's modern-vs-compatibility shader selection. isOpenGL_4_3() is
left unchanged because outside Basic_viewer it still gates the OpenGL 4.3
C++ API (QOpenGLFunctions_4_3_Core) used by the CGAL Lab demo and Three.
2026-06-04 03:32:53 +05:30
..