From 407086a6034da1adf8b14e07c44360391f8f7099 Mon Sep 17 00:00:00 2001 From: Robert Beckebans Date: Mon, 19 Dec 2022 12:40:45 +0100 Subject: [PATCH] Astyle --- doomclassic/doom/structs.h | 2 +- neo/sys/DeviceManager_VK.cpp | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/doomclassic/doom/structs.h b/doomclassic/doom/structs.h index 9e820e08..23a513a1 100644 --- a/doomclassic/doom/structs.h +++ b/doomclassic/doom/structs.h @@ -220,7 +220,7 @@ struct default_t union { int* location; - const char ** charLocation; + const char** charLocation; }; union { diff --git a/neo/sys/DeviceManager_VK.cpp b/neo/sys/DeviceManager_VK.cpp index 1a1d9c41..581947e6 100644 --- a/neo/sys/DeviceManager_VK.cpp +++ b/neo/sys/DeviceManager_VK.cpp @@ -918,8 +918,8 @@ bool DeviceManager_VK::createWindowSurface() #elif defined( VK_USE_PLATFORM_WIN32_KHR ) auto surfaceCreateInfo = vk::Win32SurfaceCreateInfoKHR() - .setHinstance( ( HINSTANCE )windowInstance ) - .setHwnd( ( HWND )windowHandle ); + .setHinstance( ( HINSTANCE )windowInstance ) + .setHwnd( ( HWND )windowHandle ); const vk::Result res = m_VulkanInstance.createWin32SurfaceKHR( &surfaceCreateInfo, nullptr, &m_WindowSurface ); #endif @@ -1080,7 +1080,7 @@ bool DeviceManager_VK::CreateDeviceAndSwapChain() CHECK( createWindowSurface() ); CHECK( pickPhysicalDevice() ); CHECK( findQueueFamilies( m_VulkanPhysicalDevice, m_WindowSurface ) ); - + // SRS - when USE_MoltenVK defined, set MoltenVK runtime configuration parameters on macOS #if defined(__APPLE__) && defined( USE_MoltenVK ) vk::PhysicalDeviceFeatures2 deviceFeatures2;