Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit db7b55af authored by Gurchetan Singh's avatar Gurchetan Singh
Browse files

vulkan: fix compile error with latest AHB changes

Otherwise, the following error is observed:

frameworks/native/vulkan/include/vulkan/vk_android_native_buffer.h:128:5:
   error: must use 'struct' tag to refer to type 'AHardwareBuffer'

BUG=313466265
TEST=presubmit

Change-Id: I1d32208a26161a64cba057a9fb4a47ce28b83d5b
parent f5e1fa26
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -125,7 +125,7 @@ typedef struct {
    int                               usage; /* DEPRECATED in SPEC_VERSION 6 */
    VkNativeBufferUsage2ANDROID       usage2; /* DEPRECATED in SPEC_VERSION 9 */
    uint64_t                          usage3; /* ADDED in SPEC_VERSION 9 */
    AHardwareBuffer*                  ahb; /* ADDED in SPEC_VERSION 11 */
    struct AHardwareBuffer*           ahb; /* ADDED in SPEC_VERSION 11 */
} VkNativeBufferANDROID;

/*