From a73627470fbc9e4fbfff0f7e5b92742b45fd17fe Mon Sep 17 00:00:00 2001 From: hyzboy Date: Sat, 20 Apr 2019 22:54:35 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=AD=A3=E5=86=85=E5=AD=98=E6=B3=84?= =?UTF-8?q?=E9=9C=B2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- example/Vulkan/main.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/example/Vulkan/main.cpp b/example/Vulkan/main.cpp index 56605b17..92d6a937 100644 --- a/example/Vulkan/main.cpp +++ b/example/Vulkan/main.cpp @@ -10,7 +10,6 @@ #include"VKPipelineLayout.h" #include"VKPipeline.h" #include"VKCommandBuffer.h" -#include"VKFence.h" #include"VKSemaphore.h" #include"VKFormat.h" #include"VKFramebuffer.h" @@ -216,6 +215,9 @@ int main(int,char **) wait_seconds(3); + delete vertex_buffer; + delete color_buffer; + for(int i=0;i