diff options
| author | Courtney Goeltzenleuchter <courtney@LunarG.com> | 2015-02-25 16:55:23 -0700 |
|---|---|---|
| committer | Courtney Goeltzenleuchter <courtney@LunarG.com> | 2015-02-25 17:15:47 -0700 |
| commit | c0f35182273a51cbca1274648155fda2c5214ce2 (patch) | |
| tree | c8f1662215d7e2af2a10a8d67e3ff2c8ec58b2a6 | |
| parent | 4d1acf1dd38a1555ea97c6a6d41735d63f3dc036 (diff) | |
| download | usermoji-c0f35182273a51cbca1274648155fda2c5214ce2.tar.xz | |
demos: Clean up objects after cmd buf built
| -rw-r--r-- | demos/tri.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/demos/tri.c b/demos/tri.c index 2f5603da..6a1e2923 100644 --- 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) |
