From 919e7b75514cae0b36ce5559ea3fe92ecbee815d Mon Sep 17 00:00:00 2001 From: Jason Ekstrand Date: Tue, 9 Jun 2015 16:01:56 -0700 Subject: [PATCH] vk/device: Use anv_CreateDynamicViewportState instead of the vk one --- src/vulkan/device.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/vulkan/device.c b/src/vulkan/device.c index 423f165e400..9eba8709a89 100644 --- a/src/vulkan/device.c +++ b/src/vulkan/device.c @@ -3422,7 +3422,7 @@ VkResult anv_CreateFramebuffer( framebuffer->height = pCreateInfo->height; framebuffer->layers = pCreateInfo->layers; - vkCreateDynamicViewportState((VkDevice) device, + anv_CreateDynamicViewportState((VkDevice) device, &(VkDynamicVpStateCreateInfo) { .sType = VK_STRUCTURE_TYPE_DYNAMIC_VP_STATE_CREATE_INFO, .viewportAndScissorCount = 1, -- 2.30.2