From 929b28be668c1c393f68f2affa2c0bc3e3ab82b5 Mon Sep 17 00:00:00 2001 From: Ian Elliott Date: Wed, 23 Mar 2016 11:13:09 -0600 Subject: layers: GH117: Change warning to an error. --- layers/swapchain.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'layers/swapchain.cpp') diff --git a/layers/swapchain.cpp b/layers/swapchain.cpp index 84bcaad1..1feabfdd 100644 --- a/layers/swapchain.cpp +++ b/layers/swapchain.cpp @@ -1744,9 +1744,9 @@ VK_LAYER_EXPORT VKAPI_ATTR VkResult VKAPI_CALL vkAcquireNextImageKHR(VkDevice de VK_KHR_SWAPCHAIN_EXTENSION_NAME); } if ((semaphore == VK_NULL_HANDLE) && (fence == VK_NULL_HANDLE)) { - skipCall |= LOG_WARNING(VK_DEBUG_REPORT_OBJECT_TYPE_DEVICE_EXT, device, "VkDevice", SWAPCHAIN_NO_SYNC_FOR_ACQUIRE, - "%s() called with both the semaphore and fence parameters set to " - "VK_NULL_HANDLE (at least one should be used).", __FUNCTION__); + skipCall |= LOG_ERROR(VK_DEBUG_REPORT_OBJECT_TYPE_DEVICE_EXT, device, "VkDevice", SWAPCHAIN_NO_SYNC_FOR_ACQUIRE, + "%s() called with both the semaphore and fence parameters set to " + "VK_NULL_HANDLE (at least one should be used).", __FUNCTION__); } SwpSwapchain *pSwapchain = &my_data->swapchainMap[swapchain]; if (pSwapchain) { -- cgit v1.2.3