mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2025-01-13 14:00:09 +00:00
gsk/vulkan/image: Cosmetics
This commit is contained in:
parent
39863d1a15
commit
a33ddd54ac
@ -355,7 +355,7 @@ gsk_vulkan_image_new_from_data_via_staging_buffer (GskVulkanUploader *uploader,
|
||||
.dstAccessMask = VK_ACCESS_TRANSFER_READ_BIT,
|
||||
.srcQueueFamilyIndex = VK_QUEUE_FAMILY_IGNORED,
|
||||
.dstQueueFamilyIndex = VK_QUEUE_FAMILY_IGNORED,
|
||||
.buffer = gsk_vulkan_buffer_get_buffer(staging),
|
||||
.buffer = gsk_vulkan_buffer_get_buffer (staging),
|
||||
.offset = 0,
|
||||
.size = buffer_size,
|
||||
});
|
||||
@ -570,7 +570,6 @@ gsk_vulkan_image_new_for_framebuffer (GdkVulkanContext *context,
|
||||
{
|
||||
GskVulkanImage *self;
|
||||
|
||||
|
||||
self = gsk_vulkan_image_new (context,
|
||||
width,
|
||||
height,
|
||||
|
Loading…
Reference in New Issue
Block a user