mirror of https://github.com/snes9xgit/snes9x.git
Fix fullscreen in Wayland/GL.
This commit is contained in:
parent
e70675db98
commit
ae01dbb92c
|
@ -763,9 +763,10 @@ S9xOpenGLDisplayDriver::create_window (int width, int height)
|
|||
if (!wl.subsurface)
|
||||
{
|
||||
wl.subsurface = wl_subcompositor_get_subsurface (wl.subcompositor, wl.child, wl.parent);
|
||||
}
|
||||
|
||||
wl_subsurface_set_desync (wl.subsurface);
|
||||
wl_subsurface_set_position (wl.subsurface, x, y);
|
||||
}
|
||||
|
||||
if (wl.egl_window)
|
||||
wl_egl_window_resize (wl.egl_window, w, h, 0, 0);
|
||||
|
|
Loading…
Reference in New Issue