From b1de1d4f6ef4fec7c8bd78b48bfbd3492bda4cb0 Mon Sep 17 00:00:00 2001 From: Jason Ekstrand Date: Thu, 9 Jul 2015 20:23:46 -0700 Subject: [PATCH] vk/device.c: One more use of a casting function --- 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 bc3bdb64a10..312105a946d 100644 --- a/src/vulkan/device.c +++ b/src/vulkan/device.c @@ -3598,7 +3598,7 @@ anv_framebuffer_destroy(struct anv_device *device, assert(obj_type == VK_OBJECT_TYPE_FRAMEBUFFER); - anv_DestroyObject((VkDevice) device, + anv_DestroyObject(anv_device_to_handle(device), VK_OBJECT_TYPE_DYNAMIC_VP_STATE, fb->vp_state); -- 2.30.2