macOS does not populate the the OpenGL 3.0 compatibility functions

This commit is contained in:
Dan Paulat 2025-06-22 22:31:14 -05:00
parent ec06cc62e1
commit e51fd8b77b
5 changed files with 26 additions and 0 deletions

View file

@ -56,10 +56,12 @@ gl::OpenGLFunctions& GlContext::gl()
return *p->gl_;
}
#if !defined(__APPLE__)
QOpenGLFunctions_3_0& GlContext::gl30()
{
return *p->gl30_;
}
#endif
std::uint64_t GlContext::texture_buffer_count() const
{