commit | ec2dc65f0967dc161db66c75f830633d1c55210b | [log] [tgz] |
---|---|---|
author | Cody Northrop <cody@lunarg.com> | Thu Sep 03 16:09:28 2015 -0600 |
committer | Cody Northrop <cody@lunarg.com> | Thu Sep 03 16:41:17 2015 -0600 |
tree | aac5d6d4afa0a012b981faebd60e327238d406c1 | |
parent | 12915ce3147ec9be4af848e3c73dfc4cd4498ba3 [diff] [blame] |
demos: Set depth image aspect correctly
diff --git a/demos/cube.c b/demos/cube.c index 160b33f..bbbb9da 100644 --- a/demos/cube.c +++ b/demos/cube.c
@@ -834,7 +834,7 @@ .image.handle = VK_NULL_HANDLE, .format = depth_format, .subresourceRange = { - .aspect = VK_IMAGE_ASPECT_COLOR, + .aspect = VK_IMAGE_ASPECT_DEPTH, .baseMipLevel = 0, .mipLevels = 1, .baseArraySlice = 0,