From 4ff3a581d0e24a84d852936d324ddf1ff52e8135 Mon Sep 17 00:00:00 2001 From: Craig Holliday Date: Wed, 6 Mar 2024 16:15:00 -0700 Subject: [PATCH] vulkan/context: trying these events for resizing the window --- video/out/vulkan/context_moltenvk.m | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/video/out/vulkan/context_moltenvk.m b/video/out/vulkan/context_moltenvk.m index 4e3ea2b450223..777c628487e88 100644 --- a/video/out/vulkan/context_moltenvk.m +++ b/video/out/vulkan/context_moltenvk.m @@ -110,9 +110,9 @@ static bool moltenvk_reconfig(struct ra_ctx *ctx) struct priv *p = ctx->priv; CGSize s = p->layer.drawableSize; ra_vk_ctx_resize(ctx, s.width, s.height); - vo_event(_ra_ctx->vo, VO_EVENT_RESIZE); - vo_event(_ra_ctx->vo, VO_EVENT_EXPOSE); - vo_event(_ra_ctx->vo, VO_EVENT_WIN_STATE); + vo_event(ctx->vo, VO_EVENT_RESIZE); + vo_event(ctx->vo, VO_EVENT_EXPOSE); + vo_event(ctx->vo, VO_EVENT_WIN_STATE); MP_MSG(ctx, MSGL_V, "Width: %f, Height: %f ### Called resize\n", s.width, s.height); return true; }