mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-06 15:58:05 +02:00
lavapipe: fix unused variable warning
Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
(cherry picked from commit 45f32ce239)
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/10379>
This commit is contained in:
parent
0fff844cf9
commit
7257be4d70
2 changed files with 2 additions and 2 deletions
|
|
@ -6727,7 +6727,7 @@
|
|||
"description": "lavapipe: fix unused variable warning",
|
||||
"nominated": false,
|
||||
"nomination_type": null,
|
||||
"resolution": 4,
|
||||
"resolution": 1,
|
||||
"master_sha": null,
|
||||
"because_sha": null
|
||||
},
|
||||
|
|
|
|||
|
|
@ -124,7 +124,7 @@ lvp_image_from_swapchain(VkDevice device,
|
|||
const VkAllocationCallbacks *pAllocator,
|
||||
VkImage *pImage)
|
||||
{
|
||||
struct lvp_image *swapchain_image = lvp_swapchain_get_image(swapchain_info->swapchain, 0);
|
||||
ASSERTED struct lvp_image *swapchain_image = lvp_swapchain_get_image(swapchain_info->swapchain, 0);
|
||||
assert(swapchain_image);
|
||||
|
||||
assert(swapchain_image->type == pCreateInfo->imageType);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue