Formatting
This commit is contained in:
parent
eb4fec7edb
commit
aa380791c8
1 changed files with 5 additions and 5 deletions
|
|
@ -333,7 +333,7 @@ void VulkanExampleBase::renderLoop()
|
||||||
// Exit loop, example will be destroyed in application main
|
// Exit loop, example will be destroyed in application main
|
||||||
if (destroy)
|
if (destroy)
|
||||||
{
|
{
|
||||||
ANativeActivity_finish(androidApp->activity);
|
ANativeActivity_finish(androidApp->activity);
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -557,9 +557,9 @@ void VulkanExampleBase::renderLoop()
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
// Flush device to make sure all resources can be freed
|
// Flush device to make sure all resources can be freed
|
||||||
if (device != VK_NULL_HANDLE) {
|
if (device != VK_NULL_HANDLE) {
|
||||||
vkDeviceWaitIdle(device);
|
vkDeviceWaitIdle(device);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
void VulkanExampleBase::updateOverlay()
|
void VulkanExampleBase::updateOverlay()
|
||||||
|
|
@ -1433,7 +1433,7 @@ void VulkanExampleBase::handleAppCommand(android_app * app, int32_t cmd)
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
LOGE("Could not initialize Vulkan, exiting!");
|
LOGE("Could not initialize Vulkan, exiting!");
|
||||||
androidApp->destroyRequested = 1;
|
androidApp->destroyRequested = 1;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue