core: windows: Update to match darwin and handle updating the swapchain and window/framebuffer sizes

This commit is contained in:
foxnne 2024-12-14 11:18:44 -06:00 committed by Emi Gutekanst
parent 4ada021a15
commit 8520c6d7d4
2 changed files with 19 additions and 11 deletions

View file

@ -96,7 +96,6 @@ windows: mach.Objects(
queue: *gpu.Queue = undefined,
swap_chain: *gpu.SwapChain = undefined,
swap_chain_descriptor: gpu.SwapChain.Descriptor = undefined,
swap_chain_update: std.Thread.ResetEvent = .{},
surface: *gpu.Surface = undefined,
surface_descriptor: gpu.Surface.Descriptor = undefined,