aboutsummaryrefslogtreecommitdiff
path: root/cube/macOS/cubepp
diff options
context:
space:
mode:
authorBill Hollings <bill.hollings@brenwill.com>2019-07-15 17:39:18 -0400
committerjeremyk-lunarg <jeremyk@lunarg.com>2019-12-02 09:05:10 -0700
commit0a0625a3dca69b9d7ecb73558539ce5e3cd4ddfa (patch)
tree657bf2c7af3366f64b77a5e28be9d714f03e70ac /cube/macOS/cubepp
parent979b531e9fff8ef044cf036d8ebd7fab3c17bec3 (diff)
downloadusermoji-0a0625a3dca69b9d7ecb73558539ce5e3cd4ddfa.tar.xz
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
Diffstat (limited to 'cube/macOS/cubepp')
-rw-r--r--cube/macOS/cubepp/DemoViewController.mm2
1 files changed, 1 insertions, 1 deletions
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