diff --git a/src/renderer_d3d12.cpp b/src/renderer_d3d12.cpp index e22202ff3b..d3d33369bf 100644 --- a/src/renderer_d3d12.cpp +++ b/src/renderer_d3d12.cpp @@ -858,9 +858,9 @@ namespace bgfx { namespace d3d12 { debug1->SetEnableSynchronizedCommandQueueValidation(false); } - } - DX_RELEASE(debug1, 1); + DX_RELEASE(debug1, 1); + } } #endif // BX_PLATFORM_WINDOWS }