mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2025-01-13 14:00:09 +00:00
Only include vulkan.h if we have it
This commit is contained in:
parent
17c8ebc4a8
commit
5b6a837b17
@ -1,6 +1,6 @@
|
||||
/* GDK - The GIMP Drawing Kit
|
||||
*
|
||||
* gdkvulkancontext-x11.c: X11 specific Vulkan wrappers
|
||||
* gdkvulkancontext.c: Vulkan wrappers
|
||||
*
|
||||
* Copyright © 2016 Benjamin Otte
|
||||
*
|
||||
@ -22,7 +22,9 @@
|
||||
|
||||
#include "gdkvulkancontextprivate.h"
|
||||
|
||||
#ifdef GDK_WINDOWING_VULKAN
|
||||
#include <vulkan/vulkan.h>
|
||||
#endif
|
||||
|
||||
#include "gdkdisplayprivate.h"
|
||||
#include "gdkinternals.h"
|
||||
|
@ -26,7 +26,9 @@
|
||||
#include "gdkdrawcontextprivate.h"
|
||||
#include "gdkinternals.h"
|
||||
|
||||
#ifdef GDK_WINDOWING_VULKAN
|
||||
#include <vulkan/vulkan.h>
|
||||
#endif
|
||||
|
||||
G_BEGIN_DECLS
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user