diff options
Diffstat (limited to 'src/amd/vulkan')
-rw-r--r-- | src/amd/vulkan/radv_wsi.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/amd/vulkan/radv_wsi.c b/src/amd/vulkan/radv_wsi.c index 64f5b0d0d30..98346cae062 100644 --- a/src/amd/vulkan/radv_wsi.c +++ b/src/amd/vulkan/radv_wsi.c @@ -29,8 +29,9 @@ #include "vk_util.h" #include "util/macros.h" +#define WSI_CB(x) .x = radv_##x MAYBE_UNUSED static const struct wsi_callbacks wsi_cbs = { - .get_phys_device_format_properties = radv_GetPhysicalDeviceFormatProperties, + WSI_CB(GetPhysicalDeviceFormatProperties), }; VkResult |