X-Git-Url: https://eleni.mutantstargoat.com/git/?p=demo;a=blobdiff_plain;f=src%2Fvulkan%2Fresources.cc;fp=src%2Fvulkan%2Fresources.cc;h=6a023a61cecdbdbde7ee8b408716af0dbcd19a7a;hp=22932a62def7d40bd30159226c986843eaed07da;hb=9922a7c30b64d74b424cb5783b08497396d2365c;hpb=f6ceb163227d00d7f97df1fc2dfbdd419c56277e diff --git a/src/vulkan/resources.cc b/src/vulkan/resources.cc index 22932a6..6a023a6 100644 --- a/src/vulkan/resources.cc +++ b/src/vulkan/resources.cc @@ -10,7 +10,7 @@ ResourceVK::~ResourceVK() {} bool ResourceVK::create_ds_layout(unsigned int num, VkDescriptorType type, VkShaderStageFlags stage, VkSampler *sampler) { - res_type = RES_DESC_SET; + this->type = RES_DESC_SET; /* layout binding */ VkDescriptorSetLayoutBinding bind;