gpu: Fix argument names

This commit is contained in:
Benjamin Otte
2024-09-25 02:31:29 +02:00
parent 36ce68a3ca
commit e6896aa8dc
2 changed files with 5 additions and 5 deletions

View File

@@ -52,11 +52,11 @@ gsk_gpu_buffer_map (GskGpuBuffer *self)
void
gsk_gpu_buffer_unmap (GskGpuBuffer *self,
gsize size)
gsize used)
{
GSK_GPU_BUFFER_GET_CLASS (self)->unmap (self, size);
GSK_GPU_BUFFER_GET_CLASS (self)->unmap (self, used);
profiler_buffer_uploads += size;
profiler_buffer_uploads += used;
gdk_profiler_set_int_counter (profiler_buffer_uploads_id, profiler_buffer_uploads);
}

View File

@@ -44,8 +44,8 @@ static inline void gsk_vulkan_free (GskVulk
GskVulkanAllocation *alloc);
static inline GskVulkanAllocator *
gsk_vulkan_allocator_ref (GskVulkanAllocator *allocator);
static inline void gsk_vulkan_allocator_unref (GskVulkanAllocator *allocator);
gsk_vulkan_allocator_ref (GskVulkanAllocator *self);
static inline void gsk_vulkan_allocator_unref (GskVulkanAllocator *self);
GskVulkanAllocator * gsk_vulkan_direct_allocator_new (VkDevice device,
uint32_t vk_type_index,