改名防止冲突

This commit is contained in:
2020-11-30 15:40:26 +08:00
parent 24d52b85e5
commit a4cfcb327a
2 changed files with 5 additions and 5 deletions

View File

@@ -26,7 +26,7 @@ bool Renderable::Set(const UTF8String &name,VAB *vab,VkDeviceSize offset)
if(!vab)return(false);
if(buffer_list.KeyExist(name))return(false);
GPUBufferData bd;
VABData bd;
bd.buf=vab;
bd.offset=offset;
@@ -40,7 +40,7 @@ VAB *Renderable::GetVAB(const UTF8String &name,VkDeviceSize *offset)
if(!offset)return(nullptr);
if(name.IsEmpty())return(nullptr);
GPUBufferData bd;
VABData bd;
if(buffer_list.Get(name,bd))
{