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

Michael Schellenberger Costa mschellenbergercosta at googlemail.com
Tue Aug 30 07:26:16 UTC 2016


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



More information about the mesa-dev mailing list