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:
20ef854
)
demos: Clean up renderpass and framebuffer
author
Courtney Goeltzenleuchter
<courtney@LunarG.com>
Thu, 26 Feb 2015 00:53:18 +0000
(17:53 -0700)
committer
Courtney Goeltzenleuchter
<courtney@LunarG.com>
Fri, 27 Feb 2015 21:50:22 +0000
(14:50 -0700)
demos/cube.c
patch
|
blob
|
history
diff --git
a/demos/cube.c
b/demos/cube.c
index 0ebbf997c7efe9ce74d5a332fe565a9dab1478aa..287929086b0ef5d17f5a3576be007fdb29519889 100644
(file)
--- a/
demos/cube.c
+++ b/
demos/cube.c
@@
-358,6
+358,9
@@
static void demo_draw_build_cmd(struct demo *demo, XGL_CMD_BUFFER cmd_buf)
err = xglEndCommandBuffer(cmd_buf);
assert(!err);
+
+ xglDestroyObject(graphics_cmd_buf_info.renderPass);
+ xglDestroyObject(rp_info.framebuffer);
}