We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 58a0f22 commit d7219ffCopy full SHA for d7219ff
src/global_functions.cpp
@@ -10,6 +10,10 @@ void scratchcpprender::init()
10
11
QSurfaceFormat format = QSurfaceFormat::defaultFormat();
12
format.setSwapInterval(0);
13
+#ifdef Q_OS_MACOS
14
+ format.setProfile(QSurfaceFormat::CoreProfile);
15
+ format.setVersion(3, 2);
16
+#endif
17
QSurfaceFormat::setDefaultFormat(format);
18
}
19
0 commit comments