Skip to content

Commit 00d9688

Browse files
committed
Trying to fix things on android
1 parent c8b83b6 commit 00d9688

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

attachments/35_gltf_ktx.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1197,7 +1197,7 @@ class VulkanApplication {
11971197
.newLayout = vk::ImageLayout::eDepthStencilAttachmentOptimal,
11981198
.srcQueueFamilyIndex = VK_QUEUE_FAMILY_IGNORED,
11991199
.dstQueueFamilyIndex = VK_QUEUE_FAMILY_IGNORED,
1200-
.image = depthImage,
1200+
.image = *depthImage,
12011201
.subresourceRange = {
12021202
.aspectMask = vk::ImageAspectFlagBits::eDepth,
12031203
.baseMipLevel = 0,

attachments/36_multiple_objects.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1286,7 +1286,7 @@ class VulkanApplication {
12861286
.newLayout = vk::ImageLayout::eDepthStencilAttachmentOptimal,
12871287
.srcQueueFamilyIndex = VK_QUEUE_FAMILY_IGNORED,
12881288
.dstQueueFamilyIndex = VK_QUEUE_FAMILY_IGNORED,
1289-
.image = depthImage,
1289+
.image = *depthImage,
12901290
.subresourceRange = {
12911291
.aspectMask = vk::ImageAspectFlagBits::eDepth,
12921292
.baseMipLevel = 0,

0 commit comments

Comments
 (0)