aboutsummaryrefslogtreecommitdiff
path: root/layers/threading.cpp
diff options
context:
space:
mode:
authorMark Lobodzinski <mark@lunarg.com>2016-05-19 15:27:18 -0600
committerMark Lobodzinski <mark@lunarg.com>2016-06-06 09:27:36 -0600
commit849ffee6d36b3f7c6e6723c4b62f56822c3741e5 (patch)
treeee82841350313cee425091b7ca2d0fe2f65b77f4 /layers/threading.cpp
parent2ffbfd804be77580c5bab991d2715eecf1346128 (diff)
downloadusermoji-849ffee6d36b3f7c6e6723c4b62f56822c3741e5.tar.xz
layers: Add default layer error message config
Allows layers to output error messages even if no vk_layer_settings.txt config file is present. Sets defaults to LOG_MSG, error, stdout. A layer settings file will override any default values. If no settings file is present and an app creates a debug callback, the default callbacks will be removed and unregistered. Change-Id: I49f37189665816df58c258b9e9629f2bf76751c8
Diffstat (limited to 'layers/threading.cpp')
-rw-r--r--layers/threading.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/layers/threading.cpp b/layers/threading.cpp
index f5d37eba..c69a8b62 100644
--- a/layers/threading.cpp
+++ b/layers/threading.cpp
@@ -285,7 +285,7 @@ CreateDebugReportCallbackEXT(VkInstance instance, const VkDebugReportCallbackCre
VkResult result =
my_data->instance_dispatch_table->CreateDebugReportCallbackEXT(instance, pCreateInfo, pAllocator, pMsgCallback);
if (VK_SUCCESS == result) {
- result = layer_create_msg_callback(my_data->report_data, pCreateInfo, pAllocator, pMsgCallback);
+ result = layer_create_msg_callback(my_data->report_data, false, pCreateInfo, pAllocator, pMsgCallback);
}
finishReadObject(my_data, instance);
return result;