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 688bb9d commit b255ca0Copy full SHA for b255ca0
src/global_functions.cpp
@@ -7,6 +7,10 @@ void scratchcpprender::init()
7
{
8
qputenv("QSG_RENDER_LOOP", "basic");
9
QQuickWindow::setGraphicsApi(QSGRendererInterface::OpenGL);
10
+
11
+ QSurfaceFormat format = QSurfaceFormat::defaultFormat();
12
+ format.setSwapInterval(0);
13
+ QSurfaceFormat::setDefaultFormat(format);
14
}
15
16
const std::string &scratchcpprender::version()
0 commit comments