[Mesa-dev] [PATCH] anv: Fix incorrect assert in anv_wsi_wayland.c

Jason Ekstrand jason at jlekstrand.net
Tue Aug 30 14:34:01 UTC 2016


Reviewed-by: Jason Ekstrand <jason at jlekstrand.net>

On Tue, Aug 30, 2016 at 12:26 AM, Michael Schellenberger Costa <
mschellenbergercosta at googlemail.com> wrote:

> Signed-off-by: Michael Schellenberger Costa <mschellenbergercosta at gmail.
> com>
> ---
>  src/intel/vulkan/anv_wsi_wayland.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/src/intel/vulkan/anv_wsi_wayland.c
> b/src/intel/vulkan/anv_wsi_wayland.c
> index a9e1617..d210e79 100644
> --- a/src/intel/vulkan/anv_wsi_wayland.c
> +++ b/src/intel/vulkan/anv_wsi_wayland.c
> @@ -116,7 +116,7 @@ wl_drm_format_for_vk_format(VkFormat vk_format, bool
> alpha)
>  #endif
>
>     default:
> -      assert("!Unsupported Vulkan format");
> +      assert(!"Unsupported Vulkan format");
>        return 0;
>     }
>  }
> --
> 2.7.4
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/mesa-dev/attachments/20160830/f62eb605/attachment.html>


More information about the mesa-dev mailing list