In CreateSwapchainWithR8G8B8A8FormatAndMailboxPresentMode() (Chapter 2 recipe 14) on line 69 there is a conditional statement which checks if our iamge_size's width and height for our swapchain images is == 0, this returns true if so, no doubt this should be return false as is the case with the rest of the conditional statements in this function.
In CreateSwapchainWithR8G8B8A8FormatAndMailboxPresentMode() (Chapter 2 recipe 14) on line 69 there is a conditional statement which checks if our iamge_size's width and height for our swapchain images is == 0, this returns true if so, no doubt this should be return false as is the case with the rest of the conditional statements in this function.
Change to: