Exclusive end range

This commit is contained in:
Joshua Groves 2018-06-23 21:56:47 -06:00
parent 15dee8af02
commit 7f63f09cb3

View file

@ -3749,7 +3749,7 @@ pub extern "C" fn gfxGetPhysicalDeviceSurfaceCapabilitiesKHR(
let output = VkSurfaceCapabilitiesKHR { let output = VkSurfaceCapabilitiesKHR {
minImageCount: caps.image_count.start, minImageCount: caps.image_count.start,
maxImageCount: caps.image_count.end, maxImageCount: caps.image_count.end - 1,
currentExtent: match caps.current_extent { currentExtent: match caps.current_extent {
Some(extent) => conv::extent2d_from_hal(extent), Some(extent) => conv::extent2d_from_hal(extent),
None => VkExtent2D { None => VkExtent2D {