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( unsafe fn cmd_set_viewport(
&self, &self,
command_buffer: vk::CommandBuffer, command_buffer: vk::CommandBuffer,
first_viewport: vk::uint32_t,
viewports: &[vk::Viewport], viewports: &[vk::Viewport],
) { ) {
self.fp_v1_0().cmd_set_viewport( self.fp_v1_0().cmd_set_viewport(
command_buffer, command_buffer,
0, first_viewport,
viewports.len() as vk::uint32_t, viewports.len() as vk::uint32_t,
viewports.as_ptr(), viewports.as_ptr(),
); );