Skip to content

plugins/qpa: set deprecated functions option correctly

Xaver Hugl requested to merge work/cherry-pick-28059435 into Plasma/6.1

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

(cherry picked from commit 28059435)

Co-authored-by: Xaver Hugl xaver.hugl@gmail.com

Merge request reports

Loading