change a type of value

This commit is contained in:
hyzboy 2020-11-17 14:33:30 +08:00
parent bdaf383b38
commit 438ffd2d36

View File

@ -90,7 +90,7 @@ void GPUDeviceAttribute::Refresh()
{
format=VK_FORMAT_UNDEFINED;
for(int i=0;i<format_count;i++)
for(uint32_t i=0;i<format_count;i++)
{
if(sf->format>format)
format=sf->format;