From b72182fcfa624b2cd7e19dd6c8e5ae60b2679dde Mon Sep 17 00:00:00 2001 From: Bas Nieuwenhuizen Date: Thu, 2 Jan 2020 12:29:29 +0100 Subject: [PATCH] turnip: Use VK_NULL_HANDLE instead of NULL. Only occurrence of implicitly converting pointer->int. Reviewed-by: Eric Engestrom Reviewed-by: Dylan Baker Reviewed-by: Kristian H. Kristensen Part-of: --- src/freedreno/vulkan/tu_pipeline.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/freedreno/vulkan/tu_pipeline.c b/src/freedreno/vulkan/tu_pipeline.c index 799b0b2a3de..e5066672177 100644 --- a/src/freedreno/vulkan/tu_pipeline.c +++ b/src/freedreno/vulkan/tu_pipeline.c @@ -1980,7 +1980,7 @@ tu_graphics_pipeline_create(VkDevice device, if (result == VK_SUCCESS) *pPipeline = tu_pipeline_to_handle(pipeline); else - *pPipeline = NULL; + *pPipeline = VK_NULL_HANDLE; return result; } -- 2.30.2