From 326253786e0b96940b90243bc732f10e49871a42 Mon Sep 17 00:00:00 2001 From: Mike Blumenkrantz Date: Fri, 23 Jul 2021 10:44:54 -0400 Subject: [PATCH] lavapipe: use consistent semaphore variable naming Reviewed-by: Dave Airlie Part-of: --- src/gallium/frontends/lavapipe/lvp_device.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/gallium/frontends/lavapipe/lvp_device.c b/src/gallium/frontends/lavapipe/lvp_device.c index 2c40042fb92..1883cb59866 100644 --- a/src/gallium/frontends/lavapipe/lvp_device.c +++ b/src/gallium/frontends/lavapipe/lvp_device.c @@ -1920,12 +1920,12 @@ VKAPI_ATTR void VKAPI_CALL lvp_DestroySemaphore( const VkAllocationCallbacks* pAllocator) { LVP_FROM_HANDLE(lvp_device, device, _device); - LVP_FROM_HANDLE(lvp_semaphore, semaphore, _semaphore); + LVP_FROM_HANDLE(lvp_semaphore, sema, _semaphore); if (!_semaphore) return; - vk_object_base_finish(&semaphore->base); - vk_free2(&device->vk.alloc, pAllocator, semaphore); + vk_object_base_finish(&sema->base); + vk_free2(&device->vk.alloc, pAllocator, sema); } VKAPI_ATTR VkResult VKAPI_CALL lvp_CreateEvent(