private void SetupSwapChain() { uint width, height; Swapchain.Create(&width, &height, Settings.VSync); this.width = width; this.height = height; }