diff --git a/ScreenPlay/main.cpp b/ScreenPlay/main.cpp index 76fde9c6..816e156e 100644 --- a/ScreenPlay/main.cpp +++ b/ScreenPlay/main.cpp @@ -37,6 +37,7 @@ int main(int argc, char* argv[]) { QGuiApplication::setAttribute(Qt::AA_EnableHighDpiScaling); + QGuiApplication::setAttribute(Qt::AA_ShareOpenGLContexts); QGuiApplication::setOrganizationName("ScreenPlay"); QGuiApplication::setOrganizationDomain("screen-play.app"); QGuiApplication::setApplicationName("ScreenPlay"); diff --git a/ScreenPlayWallpaper/main.cpp b/ScreenPlayWallpaper/main.cpp index 3e61e5d0..f2cc7b57 100644 --- a/ScreenPlayWallpaper/main.cpp +++ b/ScreenPlayWallpaper/main.cpp @@ -21,6 +21,7 @@ int main(int argc, char* argv[]) { + QGuiApplication::setAttribute(Qt::AA_ShareOpenGLContexts); QApplication::setAttribute(Qt::AA_EnableHighDpiScaling); QApplication app(argc, argv);