From: Jason Ekstrand Date: Fri, 10 Jul 2015 03:23:46 +0000 (-0700) Subject: vk/device.c: One more use of a casting function X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=b1de1d4f6ef4fec7c8bd78b48bfbd3492bda4cb0;p=mesa.git vk/device.c: One more use of a casting function --- 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);