|
@@ -394,7 +394,7 @@ void GRenderWindow::InitRenderTarget() {
|
|
|
context->setShareContext(shared_context.get());
|
|
context->setShareContext(shared_context.get());
|
|
|
context->setFormat(fmt);
|
|
context->setFormat(fmt);
|
|
|
context->create();
|
|
context->create();
|
|
|
- fmt.setSwapInterval(false);
|
|
|
|
|
|
|
+ fmt.setSwapInterval(0);
|
|
|
|
|
|
|
|
child = new GGLWidgetInternal(this, shared_context.get());
|
|
child = new GGLWidgetInternal(this, shared_context.get());
|
|
|
container = QWidget::createWindowContainer(child, this);
|
|
container = QWidget::createWindowContainer(child, this);
|