fixes
[demo] / src / vulkan / resources.cc
index 22932a6..6a023a6 100644 (file)
@@ -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;