diff options
Diffstat (limited to 'examples')
| -rw-r--r-- | examples/example-base/example-base.cpp | 2 | ||||
| -rw-r--r-- | examples/reflection-parameter-blocks/main.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/examples/example-base/example-base.cpp b/examples/example-base/example-base.cpp index 9d5f1bcae..9de47b77b 100644 --- a/examples/example-base/example-base.cpp +++ b/examples/example-base/example-base.cpp @@ -21,7 +21,7 @@ Slang::Result WindowedAppBase::initializeBase( // Initialize the rendering layer. #ifdef _DEBUG // Enable debug layer in debug config. - gfxEnableDebugLayer(); + gfxEnableDebugLayer(true); #endif IDevice::Desc deviceDesc = {}; deviceDesc.deviceType = deviceType; diff --git a/examples/reflection-parameter-blocks/main.cpp b/examples/reflection-parameter-blocks/main.cpp index cc20de281..873e785d0 100644 --- a/examples/reflection-parameter-blocks/main.cpp +++ b/examples/reflection-parameter-blocks/main.cpp @@ -580,7 +580,7 @@ struct ReflectionParameterBlocksExampleApp : public TestBase // Vulkan device up and running. #ifdef _DEBUG - gfx::gfxEnableDebugLayer(); + gfx::gfxEnableDebugLayer(true); #endif gfx::IDevice::Desc deviceDesc = {}; deviceDesc.deviceType = gfx::DeviceType::Vulkan; |
