Skip to content
Snippets Groups Projects
Verified Commit f6052431 authored by Tobias Frisch's avatar Tobias Frisch
Browse files

Straight to the develop

parent 81f6ac5b
No related branches found
No related tags found
No related merge requests found
Pipeline #26879 canceled
...@@ -60,9 +60,9 @@ bool loadImage(vkcv::Core& core, const std::filesystem::path& path, vkcv::ImageH ...@@ -60,9 +60,9 @@ bool loadImage(vkcv::Core& core, const std::filesystem::path& path, vkcv::ImageH
assert(outImage); assert(outImage);
const vkcv::asset::TextureData textureData = vkcv::asset::loadTexture(path); const vkcv::asset::Texture textureData = vkcv::asset::loadTexture(path);
if (textureData.componentCount != 4) { if (textureData.channels != 4) {
vkcv_log(vkcv::LogLevel::ERROR, "Expecting image with four components"); vkcv_log(vkcv::LogLevel::ERROR, "Expecting image with four components");
return false; return false;
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment