summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTor Arne Vestbø <tor.arne.vestbo@qt.io>2017-11-17 18:29:49 +0100
committerTor Arne Vestbø <tor.arne.vestbo@qt.io>2017-11-21 17:13:46 +0000
commitd3e9b8c728f508fac56a48d63c4a393f2859a2aa (patch)
tree1527644942af10541b0bd1e013fd1a79d8a22244
parent64298b42a3c17cefd45e9d2b8d17b026b7db1eca (diff)
iOS: Remove forced Qt::AA_ShareOpenGLContexts
Commit 8e70241dccaf removed the need for having a global sharecontext to be able to composit GL and raster content in the backingstore, but forgot to remove this part of the iOS platform. Change-Id: I46ffd766729369aff2f8c54799bd033905c9f3dc Reviewed-by: Simon Hausmann <simon.hausmann@qt.io>
-rw-r--r--src/plugins/platforms/ios/qiosintegration.mm4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/plugins/platforms/ios/qiosintegration.mm b/src/plugins/platforms/ios/qiosintegration.mm
index 5f114d4762..3ee584b6bf 100644
--- a/src/plugins/platforms/ios/qiosintegration.mm
+++ b/src/plugins/platforms/ios/qiosintegration.mm
@@ -94,10 +94,6 @@ QIOSIntegration::QIOSIntegration()
"'applicationDidFinishLaunching' inside your UIApplication delegate.\n");
}
- // The backingstore needs a global share context in order to support composition in
- // QPlatformBackingStore.
- qApp->setAttribute(Qt::AA_ShareOpenGLContexts, true);
-
// Set current directory to app bundle folder
QDir::setCurrent(QString::fromUtf8([[[NSBundle mainBundle] bundlePath] UTF8String]));