diff options
| author | 2019-05-29 01:57:52 -0400 | |
|---|---|---|
| committer | 2019-06-03 15:31:52 -0400 | |
| commit | 2575403acf52d1f20dac413a9f434e4a36f3647a (patch) | |
| tree | ea74499571a49f05978310c3dd62241ca3040708 /src | |
| parent | yuzu/bootmanager: Remove pointer downcast in GRenderWindow's constructor (diff) | |
| download | yuzu-2575403acf52d1f20dac413a9f434e4a36f3647a.tar.gz yuzu-2575403acf52d1f20dac413a9f434e4a36f3647a.tar.xz yuzu-2575403acf52d1f20dac413a9f434e4a36f3647a.zip | |
yuzu/bootmanager: Change false literal to 0 for setSwapInterval()
This function is defined as taking an int, not a bool.
Diffstat (limited to 'src')
| -rw-r--r-- | src/yuzu/bootmanager.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/yuzu/bootmanager.cpp b/src/yuzu/bootmanager.cpp index a4b89eed8..9d5044b8f 100644 --- a/src/yuzu/bootmanager.cpp +++ b/src/yuzu/bootmanager.cpp | |||
| @@ -394,7 +394,7 @@ void GRenderWindow::InitRenderTarget() { | |||
| 394 | context->setShareContext(shared_context.get()); | 394 | context->setShareContext(shared_context.get()); |
| 395 | context->setFormat(fmt); | 395 | context->setFormat(fmt); |
| 396 | context->create(); | 396 | context->create(); |
| 397 | fmt.setSwapInterval(false); | 397 | fmt.setSwapInterval(0); |
| 398 | 398 | ||
| 399 | child = new GGLWidgetInternal(this, shared_context.get()); | 399 | child = new GGLWidgetInternal(this, shared_context.get()); |
| 400 | container = QWidget::createWindowContainer(child, this); | 400 | container = QWidget::createWindowContainer(child, this); |