add clean&zero at PhysicalDevice::GetFormatProperties function
This commit is contained in:
parent
cf1f39fa3d
commit
490af01162
@ -67,6 +67,8 @@ public:
|
|||||||
{
|
{
|
||||||
VkFormatProperties fp;
|
VkFormatProperties fp;
|
||||||
|
|
||||||
|
hgl_zero(fp);
|
||||||
|
|
||||||
vkGetPhysicalDeviceFormatProperties(physical_device,format,&fp);
|
vkGetPhysicalDeviceFormatProperties(physical_device,format,&fp);
|
||||||
|
|
||||||
return fp;
|
return fp;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user