[Mesa-dev] [PATCH mesa] vulkan/wsi: fix assignment in assert()
Lionel Landwerlin
lionel.g.landwerlin at intel.com
Thu Jul 26 09:09:28 UTC 2018
On 25/07/18 19:54, Eric Engestrom wrote:
> CovID: 1438121
> Fixes: dc1d10b396179766227df "anv,radv: Add support for VK_KHR_get_display_properties2"
> Cc: Jason Ekstrand <jason.ekstrand at intel.com>
> Signed-off-by: Eric Engestrom <eric.engestrom at intel.com>
Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin at intel.com>
> ---
> src/vulkan/wsi/wsi_common_display.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/src/vulkan/wsi/wsi_common_display.c b/src/vulkan/wsi/wsi_common_display.c
> index ac932d4368a0293fe97e..7cabb7780db29c8a44d7 100644
> --- a/src/vulkan/wsi/wsi_common_display.c
> +++ b/src/vulkan/wsi/wsi_common_display.c
> @@ -763,7 +763,7 @@ wsi_get_display_plane_capabilities2(
> const VkDisplayPlaneInfo2KHR *pDisplayPlaneInfo,
> VkDisplayPlaneCapabilities2KHR *capabilities)
> {
> - assert(capabilities->sType =
> + assert(capabilities->sType ==
> VK_STRUCTURE_TYPE_DISPLAY_PLANE_CAPABILITIES_2_KHR);
>
> return wsi_get_display_plane_capabilities(physical_device, wsi_device,
More information about the mesa-dev
mailing list