summaryrefslogtreecommitdiff
path: root/gdk/gdkvulkancontext.c
diff options
context:
space:
mode:
authorBenjamin Otte <otte@redhat.com>2018-04-23 23:26:14 +0200
committerBenjamin Otte <otte@redhat.com>2018-04-24 23:16:58 +0200
commit83ea0b371417b4d20071c6203454c0781a544960 (patch)
tree408b941f5c15a10c7457007030f74820a03f4320 /gdk/gdkvulkancontext.c
parentfd686afeb2bba843c7b63a5b2284141981042439 (diff)
downloadgtk+-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.c3
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);