diff options
author | Benjamin Otte <otte@redhat.com> | 2018-04-23 23:26:14 +0200 |
---|---|---|
committer | Benjamin Otte <otte@redhat.com> | 2018-04-24 23:16:58 +0200 |
commit | 83ea0b371417b4d20071c6203454c0781a544960 (patch) | |
tree | 408b941f5c15a10c7457007030f74820a03f4320 /gdk/gdkvulkancontext.c | |
parent | fd686afeb2bba843c7b63a5b2284141981042439 (diff) | |
download | gtk+-83ea0b371417b4d20071c6203454c0781a544960.tar.gz |
drawcontext: Only pass the region that matters
We used to pass 2 regions to GdkDrawCotnext.end_frame() but code was
confusing what they meant. So we now don't do that anymore and only pass
the region that matters: The frame region.
Diffstat (limited to 'gdk/gdkvulkancontext.c')
-rw-r--r-- | gdk/gdkvulkancontext.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/gdk/gdkvulkancontext.c b/gdk/gdkvulkancontext.c index fca08fed95..1546f9d01c 100644 --- a/gdk/gdkvulkancontext.c +++ b/gdk/gdkvulkancontext.c @@ -401,8 +401,7 @@ gdk_vulkan_context_begin_frame (GdkDrawContext *draw_context, static void gdk_vulkan_context_end_frame (GdkDrawContext *draw_context, - cairo_region_t *painted, - cairo_region_t *damage) + cairo_region_t *painted) { GdkVulkanContext *context = GDK_VULKAN_CONTEXT (draw_context); GdkVulkanContextPrivate *priv = gdk_vulkan_context_get_instance_private (context); |