vulkan/ios: initialize the frame to the parent's
This commit is contained in:
parent
61a7707eca
commit
c8614bf4da
@ -137,8 +137,8 @@ static void
|
||||
_create_window (GstVulkanWindowIos * window_ios)
|
||||
{
|
||||
GstVulkanWindowIosPrivate *priv = window_ios->priv;
|
||||
CGRect rect = CGRectMake (0, 0, priv->preferred_width, priv->preferred_height);
|
||||
UIView *external_view = (__bridge UIView *) priv->external_view;
|
||||
CGRect rect = CGRectMake (0, 0, external_view.frame.size.width, external_view.frame.size.height);
|
||||
GstVulkanUIView *view;
|
||||
|
||||
view = [[GstVulkanUIView alloc] initWithFrame:rect];
|
||||
|
Loading…
x
Reference in New Issue
Block a user