summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAlberts Muktupāvels <alberts.muktupavels@gmail.com>2017-07-03 15:15:19 +0300
committerAlberts Muktupāvels <alberts.muktupavels@gmail.com>2017-07-03 15:15:19 +0300
commit5a204b8da4d615ee631fd595af3b6357e3b85303 (patch)
tree214eb52a8f4ca07a6b03f3555fb4f966c98e5a92 /src
parent90ab87cb90c88097394d216998eb17acc910cd21 (diff)
downloadmetacity-5a204b8da4d615ee631fd595af3b6357e3b85303.tar.gz
vulkan: fix a build warning
Diffstat (limited to 'src')
-rw-r--r--src/compositor/meta-compositor-vulkan.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/compositor/meta-compositor-vulkan.c b/src/compositor/meta-compositor-vulkan.c
index dfa91707..9a507f0d 100644
--- a/src/compositor/meta-compositor-vulkan.c
+++ b/src/compositor/meta-compositor-vulkan.c
@@ -1188,6 +1188,7 @@ meta_compositor_vulkan_finalize (GObject *object)
G_OBJECT_CLASS (meta_compositor_vulkan_parent_class)->finalize (object);
}
+#ifdef HAVE_VULKAN
static gboolean
not_implemented_cb (MetaCompositorVulkan *vulkan)
{
@@ -1204,6 +1205,7 @@ not_implemented_cb (MetaCompositorVulkan *vulkan)
return G_SOURCE_REMOVE;
}
+#endif
static gboolean
meta_compositor_vulkan_manage (MetaCompositor *compositor,