Mesa (master): anv/wayland: fix assert typo

Anuj Phogat aphogat at kemper.freedesktop.org
Tue Aug 30 21:25:40 UTC 2016


Module: Mesa
Branch: master
Commit: aac91fffae86477b85cd5eb2e99b59c56421111a
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=aac91fffae86477b85cd5eb2e99b59c56421111a

Author: Eric Engestrom <eric.engestrom at imgtec.com>
Date:   Tue Aug 30 11:30:12 2016 +0100

anv/wayland: fix assert typo

Signed-off-by: Eric Engestrom <eric.engestrom at imgtec.com>
Reviewed-by: Anuj Phogat <anuj.phogat 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;
    }
 }




More information about the mesa-commit mailing list