From aa380791c8310fdc6f81abbc3dc2b4d48879e7f8 Mon Sep 17 00:00:00 2001 From: saschawillems Date: Fri, 1 Jun 2018 18:41:26 +0200 Subject: [PATCH] Formatting --- base/vulkanexamplebase.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/base/vulkanexamplebase.cpp b/base/vulkanexamplebase.cpp index 9695724e..0a7483ce 100644 --- a/base/vulkanexamplebase.cpp +++ b/base/vulkanexamplebase.cpp @@ -333,7 +333,7 @@ void VulkanExampleBase::renderLoop() // Exit loop, example will be destroyed in application main if (destroy) { - ANativeActivity_finish(androidApp->activity); + ANativeActivity_finish(androidApp->activity); break; } @@ -557,9 +557,9 @@ void VulkanExampleBase::renderLoop() } #endif // Flush device to make sure all resources can be freed - if (device != VK_NULL_HANDLE) { - vkDeviceWaitIdle(device); - } + if (device != VK_NULL_HANDLE) { + vkDeviceWaitIdle(device); + } } void VulkanExampleBase::updateOverlay() @@ -1433,7 +1433,7 @@ void VulkanExampleBase::handleAppCommand(android_app * app, int32_t cmd) } else { LOGE("Could not initialize Vulkan, exiting!"); - androidApp->destroyRequested = 1; + androidApp->destroyRequested = 1; } } else