radv: fix defining RADV_USE_WSI_PLATFORM
authorSamuel Pitoiset <samuel.pitoiset@gmail.com>
Tue, 7 Mar 2023 12:21:55 +0000 (13:21 +0100)
committerMarge Bot <emma+marge@anholt.net>
Tue, 7 Mar 2023 16:37:17 +0000 (16:37 +0000)
commitc87c34bbba3b0d0890c050d34f4b7165b29b7326
tree3bb3a9c7ef963c9905b018c999703c802948b436
parenta6dcd62f448ad99b29488e3e7d3a72f3505c612a
radv: fix defining RADV_USE_WSI_PLATFORM

RADV_USE_WSI_PLATFORM was unused in radv_CreateImage().

Fixes: 2a5d7f4926c ("radv: fix missing implementation of creating images from swapchains")
Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21763>
src/amd/vulkan/radv_device.c
src/amd/vulkan/radv_private.h