Explorar o código

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

This function is defined as taking an int, not a bool.
Lioncash %!s(int64=7) %!d(string=hai) anos
pai
achega
2575403acf
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      src/yuzu/bootmanager.cpp

+ 1 - 1
src/yuzu/bootmanager.cpp

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