Removed written-only field : CxbxVertexShader.HostDeclarationSize

This commit is contained in:
PatrickvL 2019-09-17 09:51:57 +02:00
parent 796561dd6c
commit 456906b6b4
2 changed files with 0 additions and 2 deletions

View File

@ -3837,7 +3837,6 @@ HRESULT WINAPI XTL::EMUPATCH(D3DDevice_CreateVertexShader)
pCxbxVertexShader->HostFVF = 0;
pCxbxVertexShader->pHostVertexShader = nullptr;
pCxbxVertexShader->XboxDeclarationCount = XboxDeclarationCount;
pCxbxVertexShader->HostDeclarationSize = HostDeclarationSize;
// Save the status, to remove things later
// pCxbxVertexShader->XboxStatus = hRet; // Not even used by VshHandleIsValidShader()

View File

@ -90,7 +90,6 @@ typedef struct _CxbxVertexShader
DWORD HostFVF; // Flexible Vertex Format (used when there's no host vertex shader)
XTL::IDirect3DVertexShader* pHostVertexShader; // if nullptr, use SetFVF(HostFVF);
XTL::IDirect3DVertexDeclaration* pHostVertexDeclaration;
DWORD HostDeclarationSize;
// Needed for dynamic stream patching
CxbxVertexShaderInfo VertexShaderInfo;