Commit 1caa0c02 authored by Gabriel de Dietrich's avatar Gabriel de Dietrich Committed by The Qt Project
Browse files

Cocoa: Fix Open GL resolution in high-dpi


We permanently enable 'wantsBestResolutionOpenGLSurface' when creating
an Open GL window/surface. We were enabling it once we would detect a
high-dpi Cocoa backend, whitout ever turning it off. Leaving it 'on' on
non-high-dpi displays should not change anything.

Task-number: QTBUG-31000
Change-Id: I3d0c77f7b36f3c22dacd04a50fcc5a7d88af32c0
Reviewed-by: default avatarSamuel Rødal <samuel.rodal@digia.com>
Reviewed-by: default avatarGunnar Sletta <gunnar.sletta@digia.com>
parent b911e058
Branches
Tags
No related merge requests found
Showing with 10 additions and 12 deletions
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment