mirror of
https://github.com/italicsjenga/portability.git
synced 2024-11-22 23:11:30 +11:00
Exclusive end range
This commit is contained in:
parent
15dee8af02
commit
7f63f09cb3
|
@ -3749,7 +3749,7 @@ pub extern "C" fn gfxGetPhysicalDeviceSurfaceCapabilitiesKHR(
|
|||
|
||||
let output = VkSurfaceCapabilitiesKHR {
|
||||
minImageCount: caps.image_count.start,
|
||||
maxImageCount: caps.image_count.end,
|
||||
maxImageCount: caps.image_count.end - 1,
|
||||
currentExtent: match caps.current_extent {
|
||||
Some(extent) => conv::extent2d_from_hal(extent),
|
||||
None => VkExtent2D {
|
||||
|
|
Loading…
Reference in a new issue