gsk: use the correct memory type index
https://gitlab.gnome.org/GNOME/gtk/-/issues/6726
This commit is contained in:
committed by
Benjamin Otte
parent
e1f7c027d7
commit
130a6fe0cf
@@ -1261,7 +1261,7 @@ gsk_vulkan_device_find_allocator (GskVulkanDevice *self,
|
||||
|
||||
g_assert (found < properties.memoryTypeCount);
|
||||
|
||||
return gsk_vulkan_allocator_ref (gsk_vulkan_device_get_allocator (self, i, &properties.memoryTypes[i]));
|
||||
return gsk_vulkan_allocator_ref (gsk_vulkan_device_get_allocator (self, found, &properties.memoryTypes[found]));
|
||||
}
|
||||
|
||||
GskVulkanAllocator *
|
||||
|
||||
Reference in New Issue
Block a user