From f5bc5f47397eca769c35c7c874654b71c36416e3 Mon Sep 17 00:00:00 2001 From: Cacodemon345 Date: Sat, 30 Jul 2022 01:45:08 +0600 Subject: [PATCH] qt: Fix fullscreen crashes on NVIDIA GPUs --- src/qt/qt_mainwindow.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/qt/qt_mainwindow.cpp b/src/qt/qt_mainwindow.cpp index 8c1563242..dc02f5030 100644 --- a/src/qt/qt_mainwindow.cpp +++ b/src/qt/qt_mainwindow.cpp @@ -1467,6 +1467,7 @@ void MainWindow::on_actionFullscreen_triggered() { ui->statusbar->hide(); ui->toolBar->hide(); showFullScreen(); + if (vid_api == 5) ui->stackedWidget->switchRenderer(RendererStack::Renderer::Direct3D9); } ui->stackedWidget->onResize(width(), height()); }