3
0
Fork 0
forked from suyu/suyu

yuzu/bootmanager: Change false literal to 0 for setSwapInterval()

This function is defined as taking an int, not a bool.
This commit is contained in:
Lioncash 2019-05-29 01:57:52 -04:00
parent cfb59aad3f
commit 2575403acf

View file

@ -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);