Skip to content
Snippets Groups Projects
Commit 46f2ee6a authored by Sebastian Gaida's avatar Sebastian Gaida
Browse files

[#18][Fix] change VkImage to vk::Image

parent 7e073cd3
No related branches found
No related tags found
1 merge request!12Resolve "Swapchain Class"
Pipeline #24852 passed
#include "ImageLayoutTransitions.hpp" #include "ImageLayoutTransitions.hpp"
namespace vkcv { namespace vkcv {
void transitionImageLayoutImmediate(const vk::CommandBuffer cmdBuffer, const VkImage image, void transitionImageLayoutImmediate(const vk::CommandBuffer cmdBuffer, const vk::Image image,
const vk::ImageLayout oldLayout, const vk::ImageLayout newLayout) { const vk::ImageLayout oldLayout, const vk::ImageLayout newLayout) {
// TODO: proper src and dst masks // TODO: proper src and dst masks
......
...@@ -2,6 +2,6 @@ ...@@ -2,6 +2,6 @@
#include <vulkan/vulkan.hpp> #include <vulkan/vulkan.hpp>
namespace vkcv { namespace vkcv {
void transitionImageLayoutImmediate(const vk::CommandBuffer cmdBuffer, const VkImage image, void transitionImageLayoutImmediate(const vk::CommandBuffer cmdBuffer, const vk::Image image,
const vk::ImageLayout oldLayout, const vk::ImageLayout newLayout); const vk::ImageLayout oldLayout, const vk::ImageLayout newLayout);
} }
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment