修正内存泄露
This commit is contained in:
parent
e87368eeaf
commit
a73627470f
@ -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<image_count;i++)
|
||||
delete fb[i];
|
||||
delete[] fb;
|
||||
|
Loading…
x
Reference in New Issue
Block a user