Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mumble-voip/mumble.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJan Klass <kissaki@posteo.de>2017-04-25 22:17:00 +0300
committerJan Klass <kissaki@posteo.de>2017-04-25 22:57:42 +0300
commit830ea8aa540ae1bd034491ecd843fa9e4e89a426 (patch)
treea5b12faff0e0f686b935d0d0e8dd06766353a6d1 /overlay
parent386112e85f8668a152f58945ce05701f0c8728a8 (diff)
Initialize pointers in constructor
Diffstat (limited to 'overlay')
-rw-r--r--overlay/d3d11.cpp2
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;