mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-03 12:08:06 +02:00
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:
parent
25972df4b7
commit
ec1968dcc9
2 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue