diff options
author | Jan Klass <kissaki@posteo.de> | 2017-04-25 22:17:00 +0300 |
---|---|---|
committer | Jan Klass <kissaki@posteo.de> | 2017-04-25 22:57:42 +0300 |
commit | 830ea8aa540ae1bd034491ecd843fa9e4e89a426 (patch) | |
tree | a5b12faff0e0f686b935d0d0e8dd06766353a6d1 /overlay | |
parent | 386112e85f8668a152f58945ce05701f0c8728a8 (diff) |
Initialize pointers in constructor
Diffstat (limited to 'overlay')
-rw-r--r-- | overlay/d3d11.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/overlay/d3d11.cpp b/overlay/d3d11.cpp index 31e0697ed..361083516 100644 --- a/overlay/d3d11.cpp +++ b/overlay/d3d11.cpp @@ -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; |