summaryrefslogtreecommitdiff
path: root/gsk/vulkan
diff options
context:
space:
mode:
authorChristian Hergert <chergert@redhat.com>2018-07-28 10:53:48 -0700
committerChristian Hergert <chergert@redhat.com>2018-07-28 10:54:14 -0700
commit87d33470ed8643a8902e84a105b22bc8f7ed942f (patch)
tree9421c31bf0e5c6e17d1a0d7e85170fc59c42aa61 /gsk/vulkan
parent002e48c469be2a4506153f692124631d3f3cf13a (diff)
downloadgtk+-87d33470ed8643a8902e84a105b22bc8f7ed942f.tar.gz
vulkan: fix warning from g_clear_pointer() changes
Diffstat (limited to 'gsk/vulkan')
-rw-r--r--gsk/vulkan/gskvulkanrenderer.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gsk/vulkan/gskvulkanrenderer.c b/gsk/vulkan/gskvulkanrenderer.c
index f948027ec3..80bb845b37 100644
--- a/gsk/vulkan/gskvulkanrenderer.c
+++ b/gsk/vulkan/gskvulkanrenderer.c
@@ -147,7 +147,7 @@ gsk_vulkan_renderer_unrealize (GskRenderer *renderer)
data->renderer = NULL;
gdk_texture_clear_render_data (data->texture);
}
- g_clear_pointer (&self->textures, (GDestroyNotify) g_slist_free);
+ g_clear_pointer (&self->textures, g_slist_free);
g_clear_pointer (&self->render, gsk_vulkan_render_free);