mirror of
https://github.com/GPUOpen-LibrariesAndSDKs/VulkanMemoryAllocator.git
synced 2025-05-15 01:08:31 +00:00
Replace usage of old VK_LAYER_LUNARG_standard_validation and extension VK_EXT_debug_report with new VK_LAYER_KHRONOS_validation and extension VK_EXT_debug_utils also in VmaReplay
This commit is contained in:
parent
8caf0bd1c0
commit
d594faafee
3 changed files with 65 additions and 90 deletions
|
@ -44,7 +44,6 @@ VkPhysicalDevice g_hPhysicalDevice;
|
|||
VkDevice g_hDevice;
|
||||
VmaAllocator g_hAllocator;
|
||||
VkInstance g_hVulkanInstance;
|
||||
bool g_MemoryAliasingWarningEnabled = true;
|
||||
|
||||
bool g_EnableValidationLayer = true;
|
||||
bool VK_KHR_get_memory_requirements2_enabled = false;
|
||||
|
@ -1771,10 +1770,7 @@ static void FinalizeApplication()
|
|||
g_hSurface = VK_NULL_HANDLE;
|
||||
}
|
||||
|
||||
if(VK_EXT_debug_utils_enabled)
|
||||
{
|
||||
UnregisterDebugCallbacks();
|
||||
}
|
||||
UnregisterDebugCallbacks();
|
||||
|
||||
if(g_hVulkanInstance != VK_NULL_HANDLE)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue