Skip to content

Commit

Permalink
vulkan/context: trying these events for resizing the window
Browse files Browse the repository at this point in the history
  • Loading branch information
themisterholliday committed Mar 6, 2024
1 parent df5dcd7 commit 4ff3a58
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions video/out/vulkan/context_moltenvk.m
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down

0 comments on commit 4ff3a58

Please sign in to comment.