projects
/
platform
/
upstream
/
Vulkan-Tools.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4d1acf1
)
demos: Clean up objects after cmd buf built
author
Courtney Goeltzenleuchter
<courtney@LunarG.com>
Wed, 25 Feb 2015 23:55:23 +0000
(16:55 -0700)
committer
Courtney Goeltzenleuchter
<courtney@LunarG.com>
Thu, 26 Feb 2015 00:15:47 +0000
(17:15 -0700)
demos/tri.c
patch
|
blob
|
history
diff --git
a/demos/tri.c
b/demos/tri.c
index
2f5603d
..
6a1e292
100644
(file)
--- a/
demos/tri.c
+++ b/
demos/tri.c
@@
-194,6
+194,9
@@
static void demo_draw_build_cmd(struct demo *demo)
err = xglEndCommandBuffer(demo->cmd);
assert(!err);
+
+ xglDestroyObject(graphics_cmd_buf_info.renderPass);
+ xglDestroyObject(rp_info.framebuffer);
}
static void demo_draw(struct demo *demo)