Skip to content

plugins/qpa: set deprecated functions option correctly

Xaver Hugl requested to merge work/zamundaaa/correct-profile-check 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.

CCBUG: 486460

Merge request reports

Loading