radv: fix build errors after commit 8b7ff784
Signed-off-by: Yiwei Zhang <zzyiwei@chromium.org> Reviewed-by: Roman Stratiienko <r.stratiienko@gmail.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/11373>
This commit is contained in:
@@ -31,7 +31,6 @@
|
||||
|
||||
#if ANDROID_API_LEVEL >= 26
|
||||
#include <hardware/gralloc1.h>
|
||||
#include <vndk/hardware_buffer.h>
|
||||
#endif
|
||||
#endif
|
||||
|
||||
|
||||
@@ -97,6 +97,7 @@ typedef uint32_t xcb_window_t;
|
||||
*/
|
||||
#if defined(ANDROID) && ANDROID_API_LEVEL >= 26
|
||||
#define RADV_SUPPORT_ANDROID_HARDWARE_BUFFER 1
|
||||
#include <vndk/hardware_buffer.h>
|
||||
#else
|
||||
#define RADV_SUPPORT_ANDROID_HARDWARE_BUFFER 0
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user