Details
Description
glGetIntegerv(GL_MAX_VARYING_COMPONENTS, &components)
call is currently ending up with a GL_INVALID_ENUM error in Ventura 13.2.1, and the error is not cleared by Qt. The error is caught in the application code with the first call to glGetError().
We request 3.2 context and receive 4.1 :
QSurfaceFormat format; format.setVersion(3, 2); format.setProfile(QSurfaceFormat::CoreProfile); QSurfaceFormat::setDefaultFormat(format);
It might be a macOS issue.
Note that GL_MAX_VARYING_COMPONENTS is used in other components as well (qt5compat) so the potential fix will probably be needed for those too.