Add first_viewport fo cmd_set_viewport

This commit is contained in:
Maik Klein 2017-12-22 14:29:05 +01:00
parent b62faef166
commit c975a73cc0

View file

@ -808,11 +808,12 @@ pub trait DeviceV1_0 {
unsafe fn cmd_set_viewport(
&self,
command_buffer: vk::CommandBuffer,
first_viewport: vk::uint32_t,
viewports: &[vk::Viewport],
) {
self.fp_v1_0().cmd_set_viewport(
command_buffer,
0,
first_viewport,
viewports.len() as vk::uint32_t,
viewports.as_ptr(),
);