Initialize shader resource view member to NULL.

TRAC #22595 Signed-off-by: Jamie Madill Signed-off-by: Shannon Woods Author: Geoff Lang git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1918 736b8ea6-26fd-11df-bfd4-992fa37f6226
parent 50ea993e
...@@ -28,6 +28,7 @@ TextureStorage11::TextureStorage11(Renderer *renderer, UINT bindFlags) ...@@ -28,6 +28,7 @@ TextureStorage11::TextureStorage11(Renderer *renderer, UINT bindFlags)
mShaderResourceFormat(DXGI_FORMAT_UNKNOWN), mShaderResourceFormat(DXGI_FORMAT_UNKNOWN),
mRenderTargetFormat(DXGI_FORMAT_UNKNOWN), mRenderTargetFormat(DXGI_FORMAT_UNKNOWN),
mDepthStencilFormat(DXGI_FORMAT_UNKNOWN), mDepthStencilFormat(DXGI_FORMAT_UNKNOWN),
mSRV(NULL),
mTextureWidth(0), mTextureWidth(0),
mTextureHeight(0) mTextureHeight(0)
{ {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment