From f60524318dd7d64bbb4cb44327b11ef09e244ef6 Mon Sep 17 00:00:00 2001
From: Tobias Frisch <tfrisch@uni-koblenz.de>
Date: Sun, 22 Aug 2021 17:26:46 +0200
Subject: [PATCH] Straight to the develop

Signed-off-by: Tobias Frisch <tfrisch@uni-koblenz.de>
---
 projects/indirect_dispatch/src/AppSetup.cpp | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/projects/indirect_dispatch/src/AppSetup.cpp b/projects/indirect_dispatch/src/AppSetup.cpp
index 023e30fc..267ac6bd 100644
--- a/projects/indirect_dispatch/src/AppSetup.cpp
+++ b/projects/indirect_dispatch/src/AppSetup.cpp
@@ -60,9 +60,9 @@ bool loadImage(vkcv::Core& core, const std::filesystem::path& path, vkcv::ImageH
 
 	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");
 		return false;
 	}
-- 
GitLab