deleted hgl_cpy(T *,T *) function.

This commit is contained in:
2022-03-11 17:58:53 +08:00
parent 99fe88dff7
commit 3c449df4ca
6 changed files with 11 additions and 6 deletions

View File

@@ -70,7 +70,7 @@ void CreateShaderStageList(List<VkPipelineShaderStageCreateInfo> &shader_stage_l
for(int i=0;i<shader_count;i++)
{
sm=(*itp)->right;
hgl_cpy(p,sm->GetCreateInfo());
hgl_cpy(p,sm->GetCreateInfo(),1);
++p;
++itp;

View File

@@ -80,7 +80,7 @@ GPUPhysicalDevice::GPUPhysicalDevice(VkInstance inst,VkPhysicalDevice pd)
func(physical_device,&features2);
hgl_cpy(&features,&features2.features);
hgl_cpy(features,features2.features);
}
else
{
@@ -113,7 +113,7 @@ GPUPhysicalDevice::GPUPhysicalDevice(VkInstance inst,VkPhysicalDevice pd)
func(physical_device,&properties2);
hgl_cpy(&properties,&properties2.properties);
hgl_cpy(properties,properties2.properties);
}
else
{