diff options
| author | Courtney Goeltzenleuchter <courtney@LunarG.com> | 2015-07-15 11:17:08 -0600 |
|---|---|---|
| committer | Courtney Goeltzenleuchter <courtney@LunarG.com> | 2015-07-17 10:05:23 -0600 |
| commit | 0a82c0b16e2f1c92c14b6c080622008a45d57d81 (patch) | |
| tree | 2e112a67f20c654f9907d73ef7ba4da2ba0d9b60 | |
| parent | 6f09744ed57aa3526ddcb0d4c666608810ae556b (diff) | |
| download | usermoji-0a82c0b16e2f1c92c14b6c080622008a45d57d81.tar.xz | |
demos: Remove reference to undefined variable
| -rw-r--r-- | demos/cube.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/demos/cube.c b/demos/cube.c index 17f46dca..8cf8901b 100644 --- a/demos/cube.c +++ b/demos/cube.c @@ -1249,7 +1249,7 @@ void demo_prepare_cube_data_buffer(struct demo *demo) assert(!err); err = vkGetBufferMemoryRequirements(demo->device, demo->uniform_data.buf, &mem_reqs); - assert(!err && mem_reqs_size == sizeof(mem_reqs)); + assert(!err); alloc_info.allocationSize = mem_reqs.size; err = memory_type_from_properties(demo, |
