Changes to build on macOS and animate frames
This commit is contained in:
parent
0dc33496df
commit
2349738013
11 changed files with 267 additions and 107 deletions
|
|
@ -13,6 +13,10 @@ void MVKExample::renderFrame() {
|
|||
_vulkanExample->renderFrame();
|
||||
}
|
||||
|
||||
void MVKExample::nextFrame() { // SRS - expose VulkanExampleBase::nextFrame() to DemoViewController
|
||||
_vulkanExample->nextFrame();
|
||||
}
|
||||
|
||||
void MVKExample::keyPressed(uint32_t keyCode) {
|
||||
_vulkanExample->keyPressed(keyCode);
|
||||
}
|
||||
|
|
@ -21,7 +25,7 @@ MVKExample::MVKExample(void* view) {
|
|||
_vulkanExample = new VulkanExample();
|
||||
_vulkanExample->initVulkan();
|
||||
_vulkanExample->setupWindow(view);
|
||||
_vulkanExample->initSwapchain();
|
||||
// _vulkanExample->initSwapchain(); // SRS - initSwapchain() is now part of VulkanExampleBase::prepare()
|
||||
_vulkanExample->prepare();
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue