vk/device.c: One more use of a casting function
authorJason Ekstrand <jason.ekstrand@intel.com>
Fri, 10 Jul 2015 03:23:46 +0000 (20:23 -0700)
committerJason Ekstrand <jason.ekstrand@intel.com>
Fri, 10 Jul 2015 03:23:46 +0000 (20:23 -0700)
src/vulkan/device.c

index bc3bdb64a10434a0c40a5fdc6c9bea2ef87b4810..312105a946de8bce270a94591321f789f247e13a 100644 (file)
@@ -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);