diff options
author | Tapani Pälli <[email protected]> | 2018-05-16 10:44:04 +0300 |
---|---|---|
committer | Mark Lobodzinski <[email protected]> | 2018-05-17 09:07:05 -0600 |
commit | eb0c1fd44c1cd432296199a027c2e77493212bfe (patch) | |
tree | 5e66f55656356e8d35e0a17ef18b45b38eeebddc /include | |
parent | a49d2cde4de3b59f57683083331d44a55a92a5db (diff) | |
download | Vulkan-Headers-eb0c1fd44c1cd432296199a027c2e77493212bfe.tar.gz Vulkan-Headers-eb0c1fd44c1cd432296199a027c2e77493212bfe.zip |
headers: fix compilation error on android with vk_icd.h
Change allow us to refer to ANativeWindow from C code, fixes following
compilation error seen with clang 3.8.27580 (Android O prebuilts).
vk_icd.h:116:5: error: must use 'struct' tag to refer to type 'ANativeWindow'
Signed-off-by: Tapani Pälli <[email protected]>
Diffstat (limited to 'include')
-rw-r--r-- | include/vulkan/vk_icd.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/vulkan/vk_icd.h b/include/vulkan/vk_icd.h index 35956a3..b935fa1 100644 --- a/include/vulkan/vk_icd.h +++ b/include/vulkan/vk_icd.h @@ -138,7 +138,7 @@ typedef struct { #ifdef VK_USE_PLATFORM_ANDROID_KHR typedef struct { VkIcdSurfaceBase base; - ANativeWindow *window; + struct ANativeWindow *window; } VkIcdSurfaceAndroid; #endif // VK_USE_PLATFORM_ANDROID_KHR |