diff --git a/lib/graphicsdev/D3D12.cpp b/lib/graphicsdev/D3D12.cpp index faccfab..1428129 100644 --- a/lib/graphicsdev/D3D12.cpp +++ b/lib/graphicsdev/D3D12.cpp @@ -879,7 +879,9 @@ struct D3D12ShaderDataBinding : IShaderDataBinding } } +#ifndef NDEBUG m_committed = true; +#endif } void bind(ID3D12GraphicsCommandList* list, int b)