Initialize pointers in constructor

This commit is contained in:
Jan Klass 2017-04-25 21:17:00 +02:00
parent 386112e85f
commit 830ea8aa54

View File

@ -132,6 +132,8 @@ D11State::D11State(IDXGISwapChain *pSwapChain, ID3D11Device *pDevice)
pOrigStateBlock = NULL;
pMyStateBlock = NULL;
pRTV = NULL;
pVertexShader = NULL;
pPixelShader = NULL;
pVertexLayout = NULL;
pVertexBuffer = NULL;
pIndexBuffer = NULL;