summaryrefslogtreecommitdiff
path: root/platform/android/vulkan/vulkan_context_android.h
diff options
context:
space:
mode:
Diffstat (limited to 'platform/android/vulkan/vulkan_context_android.h')
-rw-r--r--platform/android/vulkan/vulkan_context_android.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/platform/android/vulkan/vulkan_context_android.h b/platform/android/vulkan/vulkan_context_android.h
index ca8182e9cd..fe9a033e1c 100644
--- a/platform/android/vulkan/vulkan_context_android.h
+++ b/platform/android/vulkan/vulkan_context_android.h
@@ -31,6 +31,8 @@
#ifndef VULKAN_CONTEXT_ANDROID_H
#define VULKAN_CONTEXT_ANDROID_H
+#ifdef VULKAN_ENABLED
+
#include "drivers/vulkan/vulkan_context.h"
struct ANativeWindow;
@@ -48,4 +50,6 @@ protected:
bool _use_validation_layers() override;
};
+#endif // VULKAN_ENABLED
+
#endif // VULKAN_CONTEXT_ANDROID_H