mirror of
https://github.com/id-Software/DOOM-3-BFG.git
synced 2025-04-16 06:52:01 +00:00
Astyle
This commit is contained in:
parent
91a33de38e
commit
407086a603
2 changed files with 4 additions and 4 deletions
|
@ -220,7 +220,7 @@ struct default_t
|
|||
union
|
||||
{
|
||||
int* location;
|
||||
const char ** charLocation;
|
||||
const char** charLocation;
|
||||
};
|
||||
union
|
||||
{
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue