D3DTexture: in-class initialize class members where applicable

This commit is contained in:
Lioncash
2017-09-03 13:07:18 -04:00
parent 75435aea6f
commit 52099d1b0a
2 changed files with 5 additions and 5 deletions

View File

@ -39,11 +39,11 @@ private:
~D3DTexture2D();
ID3D11Texture2D* tex;
ID3D11ShaderResourceView* srv;
ID3D11RenderTargetView* rtv;
ID3D11DepthStencilView* dsv;
ID3D11ShaderResourceView* srv = nullptr;
ID3D11RenderTargetView* rtv = nullptr;
ID3D11DepthStencilView* dsv = nullptr;
D3D11_BIND_FLAG bindflags;
UINT ref;
UINT ref = 1;
};
} // namespace DX11