loader: Fix wayland copy paste error
authorsfricke-samsung <s.fricke@samsung.com>
Tue, 1 Mar 2022 05:44:05 +0000 (23:44 -0600)
committerCharles Giessen <46324611+charles-lunarg@users.noreply.github.com>
Tue, 1 Mar 2022 05:58:54 +0000 (22:58 -0700)
loader/wsi.c

index 751e59a31809c8eefd1950622957fa1c99498b39..7b7a98c58257989e52a1e932eb6060dd2b9232aa 100644 (file)
@@ -161,7 +161,7 @@ bool wsi_unsupported_instance_extension(const VkExtensionProperties *ext_prop) {
 #endif  // VK_USE_PLATFORM_DIRECTFB_EXT
 #ifndef VK_USE_PLATFORM_SCREEN_QNX
     if (!strcmp(ext_prop->extensionName, "VK_QNX_screen_surface")) return true;
-#endif  // VK_USE_PLATFORM_WAYLAND_KHR
+#endif  // VK_USE_PLATFORM_SCREEN_QNX
 
     return false;
 }
@@ -1132,7 +1132,7 @@ VKAPI_ATTR VkBool32 VKAPI_CALL terminator_GetPhysicalDeviceDirectFBPresentationS
     if (!loader_inst->wsi_directfb_surface_enabled) {
         loader_log(
             loader_inst, VULKAN_LOADER_ERROR_BIT, 0,
-            "VK_EXT_directfb_surface extension not enabled. vkGetPhysicalDeviceWaylandPresentationSupportKHR not executed!\n");
+            "VK_EXT_directfb_surface extension not enabled. vkGetPhysicalDeviceDirectFBPresentationSupportKHR not executed!\n");
         return VK_SUCCESS;
     }