Skip to content

Draft: plugins/qpa: set deprecated functions option correctly

Xaver Hugl requested to merge work/zamundaaa/fix-opengl-thing into master

If a context is forward compatible, that means the deprecated functions are not available, and if the QSurfaceFormat::DeprecatedFunctions option is set, that means they are available. Wrongly setting QSurfaceFormat::DeprecatedFunctions thus causes Qt to use OpenGL in a way the context doesn't actually support.

BUG: 486460

Merge request reports