updated all descript set in RenderList
This commit is contained in:
parent
af4b9cd6d4
commit
3dbb1c40b7
@ -218,10 +218,10 @@ namespace hgl
|
||||
uint32_t first_set=0;
|
||||
MaterialParameters *mp;
|
||||
|
||||
for(int i=(int)DescriptorSetType::BEGIN_RANGE;
|
||||
i<(int)DescriptorSetType::PerObject;
|
||||
i++)
|
||||
ENUM_CLASS_FOR(DescriptorSetType,int,i)
|
||||
{
|
||||
if(i==(int)DescriptorSetType::PerObject)continue;
|
||||
|
||||
mp=ri->GetMP((DescriptorSetType)i);
|
||||
|
||||
if(last_mp[i]!=mp)
|
||||
|
Loading…
x
Reference in New Issue
Block a user