summaryrefslogtreecommitdiff
path: root/gdk/gdkvulkancontextprivate.h
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2016-12-09 14:11:37 -0500
committerMatthias Clasen <mclasen@redhat.com>2016-12-09 14:11:37 -0500
commit3dd4f767036a5b5b6a41959d15539beedb7a12d1 (patch)
tree8b480980197bbc457d4108ca1e0205d4dcd5378c /gdk/gdkvulkancontextprivate.h
parent5b6a837b1731b61ee841e9c58e8b5171bb817a7a (diff)
downloadgtk+-3dd4f767036a5b5b6a41959d15539beedb7a12d1.tar.gz
Rename GDK_WINDOWING_VULKAN
The WINDOWING defines are only for GDK backends, really. Define GDK_RENDERING_VULKAN instead.
Diffstat (limited to 'gdk/gdkvulkancontextprivate.h')
-rw-r--r--gdk/gdkvulkancontextprivate.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/gdk/gdkvulkancontextprivate.h b/gdk/gdkvulkancontextprivate.h
index 42fdbacffd..6142c043a0 100644
--- a/gdk/gdkvulkancontextprivate.h
+++ b/gdk/gdkvulkancontextprivate.h
@@ -26,7 +26,7 @@
#include "gdkdrawcontextprivate.h"
#include "gdkinternals.h"
-#ifdef GDK_WINDOWING_VULKAN
+#ifdef GDK_RENDERING_VULKAN
#include <vulkan/vulkan.h>
#endif
@@ -51,7 +51,7 @@ struct _GdkVulkanContextClass
VkSurfaceKHR *surface);
};
-#ifdef GDK_WINDOWING_VULKAN
+#ifdef GDK_RENDERING_VULKAN
static inline VkResult
gdk_vulkan_handle_result (VkResult res,
@@ -70,7 +70,7 @@ gboolean gdk_display_ref_vulkan (GdkDisplay
GError **error);
void gdk_display_unref_vulkan (GdkDisplay *display);
-#else /* !GDK_WINDOWING_VULKAN */
+#else /* !GDK_RENDERING_VULKAN */
static inline gboolean
gdk_display_ref_vulkan (GdkDisplay *display,
@@ -84,7 +84,7 @@ gdk_display_ref_vulkan (GdkDisplay *display,
return FALSE;
}
-#endif /* !GDK_WINDOWING_VULKAN */
+#endif /* !GDK_RENDERING_VULKAN */
G_END_DECLS