diff options
author | Greg Daniel <egdaniel@google.com> | 2017-11-10 13:10:14 -0500 |
---|---|---|
committer | Skia Commit-Bot <skia-commit-bot@chromium.org> | 2017-11-10 18:31:47 +0000 |
commit | 037d1fc45354508e91d5e8238089e72364412427 (patch) | |
tree | a7caf1ed1b119acf1eaf7fbfd4d2f3021f895392 /include | |
parent | 66f2b5eab2ba03950b9d502ed3fc1863d55a9664 (diff) |
Use vulkan prototypes for android framework build
The framework still directly calls vulkan vkGetInstanceProcAddr (and device).
Bug: skia:
Change-Id: Ie20a4fc4f58d0f51f995605dc8464a4e26b76602
Reviewed-on: https://skia-review.googlesource.com/69923
Reviewed-by: Brian Salomon <bsalomon@google.com>
Commit-Queue: Greg Daniel <egdaniel@google.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/gpu/vk/GrVkDefines.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/gpu/vk/GrVkDefines.h b/include/gpu/vk/GrVkDefines.h index f6de770dc8..058ac236d0 100644 --- a/include/gpu/vk/GrVkDefines.h +++ b/include/gpu/vk/GrVkDefines.h @@ -33,7 +33,7 @@ // We create our own function table and never directly call any functions via vk*(). So no need to // include the prototype functions. -#ifndef VK_NO_PROTOTYPES +#if !defined(VK_NO_PROTOTYPES) && !defined(SK_BUILD_FOR_ANDROID_FRAMEWORK) #define VK_NO_PROTOTYPES #endif |