summaryrefslogtreecommitdiffhomepage
path: root/include/vulkan/vulkan_android.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/vulkan/vulkan_android.h')
-rw-r--r--include/vulkan/vulkan_android.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/vulkan/vulkan_android.h b/include/vulkan/vulkan_android.h
index 2e1dfa9..d86f43f 100644
--- a/include/vulkan/vulkan_android.h
+++ b/include/vulkan/vulkan_android.h
@@ -19,6 +19,7 @@ extern "C" {
+// VK_KHR_android_surface is a preprocessor guard. Do not pass it to API calls.
#define VK_KHR_android_surface 1
struct ANativeWindow;
#define VK_KHR_ANDROID_SURFACE_SPEC_VERSION 6
@@ -42,6 +43,7 @@ VKAPI_ATTR VkResult VKAPI_CALL vkCreateAndroidSurfaceKHR(
#endif
+// VK_ANDROID_external_memory_android_hardware_buffer is a preprocessor guard. Do not pass it to API calls.
#define VK_ANDROID_external_memory_android_hardware_buffer 1
struct AHardwareBuffer;
#define VK_ANDROID_EXTERNAL_MEMORY_ANDROID_HARDWARE_BUFFER_SPEC_VERSION 5