diff options
author | Konstantin Käfer <mail@kkaefer.com> | 2017-01-25 10:58:47 +0100 |
---|---|---|
committer | Konstantin Käfer <mail@kkaefer.com> | 2017-01-25 14:46:43 +0100 |
commit | 332e5bcc52058b9772fe7b4a4be28b2cff213380 (patch) | |
tree | c11e68320dbe74d04fb0e105aadbc5d1f76c4beb /platform/macos/src | |
parent | b5bc4fd8b470cfe4198206e75c713dd71a22ffaa (diff) | |
download | qtlocation-mapboxgl-332e5bcc52058b9772fe7b4a4be28b2cff213380.tar.gz |
[macos] align HeadlessDisplay with SDK OpenGL context creation options
Diffstat (limited to 'platform/macos/src')
-rw-r--r-- | platform/macos/src/MGLOpenGLLayer.mm | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/platform/macos/src/MGLOpenGLLayer.mm b/platform/macos/src/MGLOpenGLLayer.mm index 8f8588486d..16b4042ce1 100644 --- a/platform/macos/src/MGLOpenGLLayer.mm +++ b/platform/macos/src/MGLOpenGLLayer.mm @@ -22,6 +22,7 @@ - (NSOpenGLPixelFormat *)openGLPixelFormatForDisplayMask:(uint32_t)mask { NSOpenGLPixelFormatAttribute pfas[] = { + NSOpenGLPFAOpenGLProfile, NSOpenGLProfileVersionLegacy, NSOpenGLPFAAccelerated, NSOpenGLPFAClosestPolicy, NSOpenGLPFAAccumSize, 32, |