소스 검색

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

This function is defined as taking an int, not a bool.
Lioncash 7 년 전
부모
커밋
2575403acf
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  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);