aboutsummaryrefslogtreecommitdiff
path: root/layers/swapchain.cpp
diff options
context:
space:
mode:
authorIan Elliott <ianelliott@google.com>2016-03-23 11:13:09 -0600
committerIan Elliott <ianelliott@google.com>2016-03-23 11:13:09 -0600
commit929b28be668c1c393f68f2affa2c0bc3e3ab82b5 (patch)
tree48792054f6dae738c8b8073e486e80e02c9a47e5 /layers/swapchain.cpp
parent0234cd2e5685ff7b3787877b38870c0fcdf2bae4 (diff)
downloadusermoji-929b28be668c1c393f68f2affa2c0bc3e3ab82b5.tar.xz
layers: GH117: Change warning to an error.
Diffstat (limited to 'layers/swapchain.cpp')
-rw-r--r--layers/swapchain.cpp6
1 files changed, 3 insertions, 3 deletions
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) {