From 9a548cf2e011cd36debd4e6a6618f9488300cfb3 Mon Sep 17 00:00:00 2001 From: Chuck Walbourn Date: Tue, 28 Jan 2020 14:13:42 -0800 Subject: [PATCH] Updated D3DX12 with minor bug fix --- DirectXTex/d3dx12.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/DirectXTex/d3dx12.h b/DirectXTex/d3dx12.h index 62d5186..fd5068f 100644 --- a/DirectXTex/d3dx12.h +++ b/DirectXTex/d3dx12.h @@ -2193,7 +2193,7 @@ private: public: CD3DX12_PIPELINE_STATE_STREAM_SUBOBJECT() noexcept : _Type(Type), _Inner(DefaultArg()) {} CD3DX12_PIPELINE_STATE_STREAM_SUBOBJECT(InnerStructType const& i) : _Type(Type), _Inner(i) {} - CD3DX12_PIPELINE_STATE_STREAM_SUBOBJECT& operator=(InnerStructType const& i) { _Inner = i; return *this; } + CD3DX12_PIPELINE_STATE_STREAM_SUBOBJECT& operator=(InnerStructType const& i) { _Type = Type; _Inner = i; return *this; } operator InnerStructType const&() const { return _Inner; } operator InnerStructType&() { return _Inner; } InnerStructType* operator&() { return &_Inner; }