mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-04-26 04:46:13 +00:00
vulkan/xcb: flush after mapping the window
Otherwise the map may not reach the server and not appear.
This commit is contained in:
parent
28ad97059d
commit
700eb16af8
1 changed files with 1 additions and 0 deletions
|
@ -132,6 +132,7 @@ gst_vulkan_window_xcb_show (GstVulkanWindow * window)
|
||||||
|
|
||||||
if (!window_xcb->visible) {
|
if (!window_xcb->visible) {
|
||||||
xcb_map_window (connection, window_xcb->win_id);
|
xcb_map_window (connection, window_xcb->win_id);
|
||||||
|
xcb_flush (connection);
|
||||||
window_xcb->visible = TRUE;
|
window_xcb->visible = TRUE;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue