Updated to make debug layers guarded by macro

This commit is contained in:
Alejandro Saucedo 2020-10-03 15:25:20 +01:00
parent 4c3b18d560
commit 2e9ffd9444
5 changed files with 29 additions and 10 deletions

View file

@ -154,8 +154,10 @@ class Manager
mManagedSequences;
#if DEBUG
#ifndef KOMPUTE_DISABLE_VK_DEBUG_LAYERS
vk::DebugReportCallbackEXT mDebugReportCallback;
vk::DispatchLoaderDynamic mDebugDispatcher;
#endif
#endif
// Create functions