Formatting

This commit is contained in:
Pablo Escobar 2020-03-25 21:36:57 +01:00 committed by Бранимир Караџић
parent 570d269b86
commit d3e4e35700

View File

@ -1851,7 +1851,7 @@ VK_IMPORT_DEVICE
BX_WARN(surfaceFormatSrgbIdx < numSurfaceFormats, "Cannot find preferred sRGB surface format from supported surface formats");
m_backBufferColorFormat = surfaceFormats[surfaceFormatIdx];
m_backBufferColorFormatSrgb = surfaceFormatSrgbIdx < numSurfaceFormats ? surfaceFormats[surfaceFormatSrgbIdx] : m_backBufferColorFormat;
m_backBufferColorFormatSrgb = surfaceFormatSrgbIdx < numSurfaceFormats ? surfaceFormats[surfaceFormatSrgbIdx] : m_backBufferColorFormat;
uint32_t numPresentModes;
result = vkGetPhysicalDeviceSurfacePresentModesKHR(m_physicalDevice, m_surface, &numPresentModes, NULL);
@ -4127,8 +4127,8 @@ VK_IMPORT_DEVICE
VkSurfaceKHR m_surface;
VkSwapchainKHR m_swapchain;
uint32_t m_numSwapchainImages;
VkSurfaceFormatKHR m_backBufferColorFormat;
VkSurfaceFormatKHR m_backBufferColorFormatSrgb;
VkSurfaceFormatKHR m_backBufferColorFormat;
VkSurfaceFormatKHR m_backBufferColorFormatSrgb;
VkImageLayout m_backBufferColorImageLayout[NUM_SWAPCHAIN_IMAGE];
VkImage m_backBufferColorImage[NUM_SWAPCHAIN_IMAGE];
VkImageView m_backBufferColorImageView[NUM_SWAPCHAIN_IMAGE];