diff --git a/src/platform/native.zig b/src/platform/native.zig index d79cf8c2..08e25601 100644 --- a/src/platform/native.zig +++ b/src/platform/native.zig @@ -139,9 +139,7 @@ pub const Platform = struct { core.surface = surface; core.current_desc = descriptor; core.target_desc = descriptor; - core.swap_chain = core.device.createSwapChain(core.surface, &core.target_desc); - // TODO: should resize fire on startup here? Might be nice for consistency - + core.swap_chain = null; const cursor_pos = try window.getCursorPos(); return Platform{