From 313ac10de4a765997ddf5202c599e4a0ca32c8ca Mon Sep 17 00:00:00 2001
From: Sascha Willems <webmaster@saschawillems.de>
Date: Sat, 4 Dec 2021 10:10:38 +0100
Subject: [PATCH] Removed unused texture
---
examples/dynamicrendering/dynamicrendering.cpp | 2 --
1 file changed, 2 deletions(-)
diff --git a/examples/dynamicrendering/dynamicrendering.cpp b/examples/dynamicrendering/dynamicrendering.cpp
index 61187e3a..41432931 100644
--- a/examples/dynamicrendering/dynamicrendering.cpp
+++ b/examples/dynamicrendering/dynamicrendering.cpp
@@ -19,7 +19,6 @@ public:
VkPhysicalDeviceDynamicRenderingFeaturesKHR dynamicRenderingFeaturesKHR{};
- vks::Texture2D texture;
vkglTF::Model model;
struct UniformData {
@@ -85,7 +84,6 @@ public:
{
const uint32_t glTFLoadingFlags = vkglTF::FileLoadingFlags::PreTransformVertices | vkglTF::FileLoadingFlags::PreMultiplyVertexColors | vkglTF::FileLoadingFlags::FlipY;
model.loadFromFile(getAssetPath() + "models/voyager.gltf", vulkanDevice, queue, glTFLoadingFlags);
- texture.loadFromFile(getAssetPath() + "textures/vulkan_11_rgba.ktx", VK_FORMAT_R8G8B8A8_UNORM, vulkanDevice, queue);
}
void buildCommandBuffers()
--
GitLab