summaryrefslogtreecommitdiff
path: root/engine/xe_render_system.hpp
diff options
context:
space:
mode:
authortylermurphy534 <tylermurphy534@gmail.com>2022-09-29 18:11:53 -0400
committertylermurphy534 <tylermurphy534@gmail.com>2022-09-29 18:11:53 -0400
commit915469e0f3467022f7fd3541350b04b8668d20f7 (patch)
tree19faf29890e88b8f7b21b401d8e1c5ddad9b0259 /engine/xe_render_system.hpp
parenttemporray descriptor pool memory patch (diff)
downloadminecraftvulkan-915469e0f3467022f7fd3541350b04b8668d20f7.tar.gz
minecraftvulkan-915469e0f3467022f7fd3541350b04b8668d20f7.tar.bz2
minecraftvulkan-915469e0f3467022f7fd3541350b04b8668d20f7.zip
descriptor pool final fix
Diffstat (limited to 'engine/xe_render_system.hpp')
-rw-r--r--engine/xe_render_system.hpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/engine/xe_render_system.hpp b/engine/xe_render_system.hpp
index e0915dd..bbf96f8 100644
--- a/engine/xe_render_system.hpp
+++ b/engine/xe_render_system.hpp
@@ -124,6 +124,7 @@ class RenderSystem {
private:
+ void createDescriptorPool();
void createDescriptorSetLayout();
void createUniformBuffers();
void createDescriptorSets();
@@ -148,7 +149,7 @@ class RenderSystem {
VkPipelineLayout pipelineLayout;
std::unique_ptr<Pipeline> xePipeline;
- std::unique_ptr<DescriptorPool> &xeDescriptorPool;
+ std::unique_ptr<DescriptorPool> xeDescriptorPool;
std::unique_ptr<DescriptorSetLayout> xeDescriptorSetLayout;
};