tabs to space, remove braces

This commit is contained in:
Marcell Kiss 2016-08-20 13:27:03 +02:00
parent 3234f81cb1
commit 4bc6a951fe
2 changed files with 6 additions and 10 deletions

View File

@ -89,13 +89,9 @@ static void resize_vulkan(GLFWwindow* /*window*/, int w, int h)
err = vkGetPhysicalDeviceSurfaceCapabilitiesKHR(g_Gpu, g_Surface, &cap);
check_vk_result(err);
if (cap.maxImageCount > 0)
{
info.minImageCount = (cap.minImageCount + 2 < cap.maxImageCount) ? (cap.minImageCount + 2) : cap.maxImageCount;
}
else
{
info.minImageCount = cap.minImageCount + 2;
}
if (cap.currentExtent.width == 0xffffffff)
{
fb_width = w;