summarylogtreecommitdiffstats
path: root/0002-fix-error-due-to-removed-general-command-pool.patch
blob: b55a7374ee108a17f3952b44b0f64189d94c3653 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
From 5c7b0d8e81303f2671ef7fc1ceb886ef11d00b7f Mon Sep 17 00:00:00 2001
From: sharkautarch <128002472+sharkautarch@users.noreply.github.com>
Date: Fri, 27 Oct 2023 18:07:07 -0400
Subject: [PATCH 2/4] fix error due to removed general command pool

---
 src/reshade_effect_manager.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/reshade_effect_manager.cpp b/src/reshade_effect_manager.cpp
index 3597ca1..4ca513c 100644
--- a/src/reshade_effect_manager.cpp
+++ b/src/reshade_effect_manager.cpp
@@ -907,7 +907,7 @@ bool ReshadeEffectPipeline::init(CVulkanDevice *device, const ReshadeEffectKey &
 		VkCommandBufferAllocateInfo commandBufferAllocateInfo =
         {
 			.sType              = VK_STRUCTURE_TYPE_COMMAND_BUFFER_ALLOCATE_INFO,
-			.commandPool        = device->generalCommandPool(),
+			.commandPool        = device->commandPool();
 			.level              = VK_COMMAND_BUFFER_LEVEL_PRIMARY,
 			.commandBufferCount = 1
 		};
-- 
2.43.0