Skip to content

Commit

Permalink
Fix build with older Vulkan headers
Browse files Browse the repository at this point in the history
  • Loading branch information
nowrep committed Nov 24, 2022
1 parent 5192108 commit 73b55ea
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion alvr/server/cpp/platform/linux/Renderer.cpp
Expand Up @@ -392,7 +392,7 @@ void Renderer::AddImage(VkImageCreateInfo imageInfo, size_t memoryIndex, int ima
imageBarrier.subresourceRange.aspectMask = VK_IMAGE_ASPECT_COLOR_BIT;
imageBarrier.subresourceRange.layerCount = 1;
imageBarrier.subresourceRange.levelCount = 1;
imageBarrier.srcAccessMask = VK_ACCESS_NONE;
imageBarrier.srcAccessMask = 0;
imageBarrier.dstAccessMask = VK_ACCESS_SHADER_READ_BIT;

commandBufferBegin();
Expand Down

0 comments on commit 73b55ea

Please sign in to comment.