diff options
Diffstat (limited to 'render')
-rw-r--r-- | render/vulkan/renderer.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/render/vulkan/renderer.c b/render/vulkan/renderer.c index 736c9e96..d1c3a965 100644 --- a/render/vulkan/renderer.c +++ b/render/vulkan/renderer.c @@ -1818,10 +1818,12 @@ static bool vulkan_read_pixels(struct wlr_renderer *wlr_renderer, .srcOffsets[0] = { .x = src_x, .y = src_y, + .z = 0, }, .srcOffsets[1] = { .x = src_x + width, .y = src_y + height, + .z = 1, }, .dstSubresource.aspectMask = VK_IMAGE_ASPECT_COLOR_BIT, .dstSubresource.layerCount = 1, |