mirror of
https://github.com/PabloMK7/citra.git
synced 2025-09-09 20:30:05 +00:00
qt: Partially fix Wayland support. (#7054)
* qt: Partially fix Wayland on NVIDIA. * qt: Fix Vulkan under Wayland. Showing and hiding the window here messes up the surface, causing an instant crash on load. * qt: Properly set up GLES context when requested.
This commit is contained in:
parent
6244f9e3fd
commit
6cfd00e42d
2 changed files with 36 additions and 11 deletions
|
@ -1270,10 +1270,6 @@ void GMainWindow::BootGame(const QString& filename) {
|
|||
setMouseTracking(true);
|
||||
}
|
||||
|
||||
// show and hide the render_window to create the context
|
||||
render_window->show();
|
||||
render_window->hide();
|
||||
|
||||
loading_screen->Prepare(system.GetAppLoader());
|
||||
loading_screen->show();
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue