From b9401d70a7b0637d36634b75f0cb102df54d92e6 Mon Sep 17 00:00:00 2001 From: HuYingzhuo Date: Fri, 12 Apr 2019 16:39:05 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=AD=A3=E5=88=9B=E5=BB=BADescriptorP?= =?UTF-8?q?ool=E6=B2=A1=E6=9C=89=E6=AD=A3=E7=A1=AE=E5=88=A4=E6=96=AD?= =?UTF-8?q?=E8=BF=94=E5=9B=9E=E5=80=BC=E7=9A=84=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- example/Vulkan/RenderSurfaceCreater.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/example/Vulkan/RenderSurfaceCreater.cpp b/example/Vulkan/RenderSurfaceCreater.cpp index 43bfa05c..224f0380 100644 --- a/example/Vulkan/RenderSurfaceCreater.cpp +++ b/example/Vulkan/RenderSurfaceCreater.cpp @@ -281,7 +281,7 @@ namespace VkDescriptorPool desc_pool; - if(!vkCreateDescriptorPool(device,&dp_create_info,nullptr,&desc_pool)) + if(vkCreateDescriptorPool(device,&dp_create_info,nullptr,&desc_pool)!=VK_SUCCESS) return(nullptr); return desc_pool;