Add option to save validation messages to a text file
This commit is contained in:
parent
82a4cdcdc5
commit
746fb337bd
3 changed files with 20 additions and 2 deletions
|
|
@ -1,7 +1,7 @@
|
|||
/*
|
||||
* Vulkan examples debug wrapper
|
||||
*
|
||||
* Copyright (C) 2016-2023 by Sascha Willems - www.saschawillems.de
|
||||
* Copyright (C) 2016-2025 by Sascha Willems - www.saschawillems.de
|
||||
*
|
||||
* This code is licensed under the MIT license (MIT) (http://opensource.org/licenses/MIT)
|
||||
*/
|
||||
|
|
@ -34,6 +34,8 @@ namespace vks
|
|||
{
|
||||
namespace debug
|
||||
{
|
||||
extern bool logToFile;
|
||||
|
||||
// Default debug callback
|
||||
VKAPI_ATTR VkBool32 VKAPI_CALL debugUtilsMessageCallback(
|
||||
VkDebugUtilsMessageSeverityFlagBitsEXT messageSeverity,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue