Cocoa: Set "Stereo" OpenGL format option.
Task-number: QTBUG-35548 Change-Id: I60b633ae44b8b4b353a7328eb0922b9301e1460c Reviewed-by: Sean Harmer <sean.harmer@kdab.com>
This commit is contained in:
parent
ffc8aac684
commit
8212e0cfad
@ -121,6 +121,9 @@ void *qcgl_createNSOpenGLPixelFormat(const QSurfaceFormat &format)
|
||||
<< NSOpenGLPFASamples << (NSOpenGLPixelFormatAttribute) format.samples();
|
||||
}
|
||||
|
||||
if (format.stereo())
|
||||
attrs << NSOpenGLPFAStereo;
|
||||
|
||||
attrs << NSOpenGLPFAAllowOfflineRenderers;
|
||||
attrs << 0;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user