uncapped framerate
This commit is contained in:
parent
da83682660
commit
b9a885791c
|
|
@ -6,6 +6,12 @@
|
|||
|
||||
int main(int argc, char** argv)
|
||||
{
|
||||
QSurfaceFormat format;
|
||||
format.setSwapBehavior(QSurfaceFormat::DoubleBuffer);
|
||||
format.setSwapInterval(0);
|
||||
|
||||
QSurfaceFormat::setDefaultFormat(format);
|
||||
|
||||
QApplication app(argc, argv);
|
||||
StudioWindow window = StudioWindow();
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue