projects
/
platform
/
upstream
/
Vulkan-LoaderAndValidationLayers.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b368698
)
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
0ebbf99
..
2879290
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);
}