fixing warning, adding CIs
Some checks failed
Linux / build (x86_64, macOS-latest) (push) Has been cancelled
Linux / build (x86_64, ubuntu-latest) (push) Has been cancelled

This commit is contained in:
2026-01-11 12:32:58 +01:00
parent 98b845f876
commit 87620b6e0c
4 changed files with 68 additions and 2 deletions

2
kvf.h
View File

@@ -526,7 +526,7 @@ int32_t kvfFindMemoryType(VkPhysicalDevice physical_device, uint32_t type_filter
VkPhysicalDeviceMemoryProperties mem_properties;
KVF_GET_INSTANCE_FUNCTION(vkGetPhysicalDeviceMemoryProperties)(physical_device, &mem_properties);
for(int32_t i = 0; i < mem_properties.memoryTypeCount; i++)
for(int32_t i = 0; i < (int32_t)mem_properties.memoryTypeCount; i++)
{
if((type_filter & (1 << i)) && (mem_properties.memoryTypes[i].propertyFlags & properties) == properties)
return i;