summaryrefslogtreecommitdiffstats
path: root/src/amd/vulkan/Makefile.am
diff options
context:
space:
mode:
authorBas Nieuwenhuizen <[email protected]>2018-08-10 02:26:19 +0200
committerBas Nieuwenhuizen <[email protected]>2018-08-14 22:11:04 +0200
commitbf33ca751252e9735418e33bacd257a8b431b102 (patch)
tree126dbcf63e65ed551411b334dd923d65a6edc69c /src/amd/vulkan/Makefile.am
parent13b9d32fb1d846b207f330140b53bda3047ee3af (diff)
radv: Fix missing Android platform define.
CC: <[email protected]> Acked-by: Samuel Pitoiset <[email protected]>
Diffstat (limited to 'src/amd/vulkan/Makefile.am')
-rw-r--r--src/amd/vulkan/Makefile.am2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/amd/vulkan/Makefile.am b/src/amd/vulkan/Makefile.am
index e7ccc58a28e..e28f032cbee 100644
--- a/src/amd/vulkan/Makefile.am
+++ b/src/amd/vulkan/Makefile.am
@@ -124,7 +124,7 @@ VULKAN_LIB_DEPS += \
endif
if HAVE_PLATFORM_ANDROID
-AM_CPPFLAGS += $(ANDROID_CPPFLAGS)
+AM_CPPFLAGS += $(ANDROID_CPPFLAGS) -DVK_USE_PLATFORM_ANDROID_KHR
AM_CFLAGS += $(ANDROID_CFLAGS)
VULKAN_LIB_DEPS += $(ANDROID_LIBS)
VULKAN_SOURCES += $(VULKAN_ANDROID_FILES)