loader: Fix some typos from the recent WSI checkins: broke wayland
Change-Id: Ie25aaf462498eae7fcc31784015e22376e31a70a
diff --git a/loader/wsi.c b/loader/wsi.c
index 405f2c8..43807e9 100644
--- a/loader/wsi.c
+++ b/loader/wsi.c
@@ -753,7 +753,7 @@
const VkAllocationCallbacks *pAllocator, VkSurfaceKHR *pSurface) {
// First, check to ensure the appropriate extension was enabled:
struct loader_instance *ptr_instance = loader_get_instance(instance);
- if (!ptr_instance->wsi_waland_surface_enabled) {
+ if (!ptr_instance->wsi_wayland_surface_enabled) {
loader_log(ptr_instance, VK_DEBUG_REPORT_ERROR_BIT_EXT, 0,
"VK_KHR_wayland_surface extension not enabled. "
"vkCreateWaylandSurfaceKHR not executed!\n");
@@ -808,7 +808,7 @@
(struct loader_physical_device *)physicalDevice;
struct loader_instance *ptr_instance =
(struct loader_instance *)phys_dev->this_icd->this_instance;
- if (!ptr_instance->wsi_waland_surface_enabled) {
+ if (!ptr_instance->wsi_wayland_surface_enabled) {
loader_log(ptr_instance, VK_DEBUG_REPORT_ERROR_BIT_EXT, 0,
"VK_KHR_wayland_surface extension not enabled. "
"vkGetPhysicalDeviceWaylandPresentationSupportKHR not executed!\n");