vulkan/wayland: advertise the current surface size
Avoids vkswapper from creating a 0x0 output VkSurface and failing
This commit is contained in:
parent
c94d50090b
commit
4e467e0082
@ -141,6 +141,9 @@ create_surfaces (GstVulkanWindowWayland * window_wl)
|
||||
else
|
||||
height = 240;
|
||||
window_wl->window_height = height;
|
||||
|
||||
gst_vulkan_window_resize (GST_VULKAN_WINDOW (window_wl),
|
||||
window_wl->window_width, window_wl->window_height);
|
||||
}
|
||||
|
||||
static void
|
||||
|
Loading…
x
Reference in New Issue
Block a user