From 0a0625a3dca69b9d7ecb73558539ce5e3cd4ddfa Mon Sep 17 00:00:00 2001 From: Bill Hollings Date: Mon, 15 Jul 2019 17:39:18 -0400 Subject: vkcube: Replace MoltenVK surfaces with Metal Made DemoViewController.m compatible with VK_EXT_metal_surface extension and replaced all references to VK_MVK_macos_surface and VK_MVK_ios_surface with VK_EXT_metal_surface. Change-Id: I4a163bc9c6109b44d169c6565313ab52161d38fc --- cube/macOS/cubepp/DemoViewController.mm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cube/macOS/cubepp/DemoViewController.mm') diff --git a/cube/macOS/cubepp/DemoViewController.mm b/cube/macOS/cubepp/DemoViewController.mm index 049ec6b6..9e003b9b 100644 --- a/cube/macOS/cubepp/DemoViewController.mm +++ b/cube/macOS/cubepp/DemoViewController.mm @@ -52,7 +52,7 @@ argv[i] = s.UTF8String; } - demo_main(demo, self.view, args.count, argv); + demo_main(demo, self.view.layer, args.count, argv); // Monitor the rendering loop for a quit condition _timer = [NSTimer scheduledTimerWithTimeInterval: 0.2 -- cgit v1.2.3