mirror of
https://github.com/KhronosGroup/Vulkan-Headers.git
synced 2025-04-05 13:14:58 +00:00
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 <tapani.palli@intel.com>
This commit is contained in:
parent
a49d2cde4d
commit
eb0c1fd44c
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue