1
0
mirror of https://github.com/microsoft/DirectXTex synced 2024-11-24 21:30:14 +00:00

Updated D3DX12 with minor bug fix

This commit is contained in:
Chuck Walbourn 2020-01-28 14:13:42 -08:00
parent 29b4f59522
commit 9a548cf2e0

View File

@ -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; }