diff options
Diffstat (limited to 'tools/gfx')
| -rw-r--r-- | tools/gfx/d3d12/d3d12-device.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/tools/gfx/d3d12/d3d12-device.cpp b/tools/gfx/d3d12/d3d12-device.cpp index 07ab818b4..3578729d9 100644 --- a/tools/gfx/d3d12/d3d12-device.cpp +++ b/tools/gfx/d3d12/d3d12-device.cpp @@ -18,6 +18,12 @@ #include "d3d12-helper-functions.h" +#ifdef _DEBUG +# define ENABLE_DEBUG_LAYER 1 +#else +# define ENABLE_DEBUG_LAYER 0 +#endif + namespace gfx { namespace d3d12 |
