aboutsummaryrefslogtreecommitdiff
path: root/cube/cube.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'cube/cube.cpp')
-rw-r--r--cube/cube.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/cube/cube.cpp b/cube/cube.cpp
index 216440ab..bc10ac7f 100644
--- a/cube/cube.cpp
+++ b/cube/cube.cpp
@@ -2064,7 +2064,6 @@ void Demo::prepare_texture_buffer(const char *filename, texture_object *tex_obj)
VERIFY(result == vk::Result::eSuccess);
vk::SubresourceLayout layout;
- memset(&layout, 0, sizeof(layout));
layout.rowPitch = tex_width * 4;
auto data = device.mapMemory(tex_obj->mem, 0, tex_obj->mem_alloc.allocationSize);
VERIFY(data.result == vk::Result::eSuccess);