diff options
Diffstat (limited to 'layers/swapchain.cpp')
| -rw-r--r-- | layers/swapchain.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/layers/swapchain.cpp b/layers/swapchain.cpp index 3edbba72..de9fc777 100644 --- a/layers/swapchain.cpp +++ b/layers/swapchain.cpp @@ -33,7 +33,7 @@ #include <stdio.h> #include <string.h> #include <vk_loader_platform.h> -#include <vk_icd.h> +#include <vulkan/vk_icd.h> #include "swapchain.h" #include "vk_layer_extension_utils.h" #include "vk_enum_string_helper.h" @@ -443,13 +443,13 @@ VK_LAYER_EXPORT VKAPI_ATTR VkResult VKAPI_CALL vkCreateAndroidSurfaceKHR( SwpInstance *pInstance = &(my_data->instanceMap[instance]); // Validate that the platform extension was enabled: - if (pInstance && !pInstance->SurfaceExtensionEnabled) { + if (pInstance && !pInstance->androidSurfaceExtensionEnabled) { skipCall |= LOG_ERROR(VK_DEBUG_REPORT_OBJECT_TYPE_INSTANCE_EXT, pInstance, "VkInstance", SWAPCHAIN_EXT_NOT_ENABLED_BUT_USED, "%s() called even though the %s extension was not enabled for this VkInstance.", - __FUNCTION__, VK_KHR_x_SURFACE_EXTENSION_NAME); + __FUNCTION__, VK_KHR_ANDROID_SURFACE_EXTENSION_NAME); } if (!pCreateInfo) { |
