Merge pull request #1723 from NZJenkins/lsw2_fix

Initialize pCurrentvertexShaderStreamInfo to nullptr
This commit is contained in:
PatrickvL 2019-09-11 12:46:37 +02:00 committed by GitHub
commit ea17cb6f15
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -1738,7 +1738,7 @@ class XboxVertexDeclarationConverter
protected:
// Internal variables
XTL::CxbxVertexShaderInfo* pVertexShaderInfoToSet;
XTL::CxbxVertexShaderStreamInfo* pCurrentVertexShaderStreamInfo;
XTL::CxbxVertexShaderStreamInfo* pCurrentVertexShaderStreamInfo = nullptr;
DWORD temporaryCount;
bool IsFixedFunction;
XTL::D3DVERTEXELEMENT* pRecompiled;