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
|
#ifdef VK_USE_PLATFORM_ANDROID_KHR
|
||||||
typedef struct {
|
typedef struct {
|
||||||
VkIcdSurfaceBase base;
|
VkIcdSurfaceBase base;
|
||||||
ANativeWindow *window;
|
struct ANativeWindow *window;
|
||||||
} VkIcdSurfaceAndroid;
|
} VkIcdSurfaceAndroid;
|
||||||
#endif // VK_USE_PLATFORM_ANDROID_KHR
|
#endif // VK_USE_PLATFORM_ANDROID_KHR
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue