Merge pull request #395 from LukeUsher/master

Revert "Temporarily disable vertex buffer caching."
This commit is contained in:
Luke Usher 2017-04-24 06:50:18 +01:00 committed by GitHub
commit 0742b7d206
1 changed files with 1 additions and 2 deletions

View File

@ -291,7 +291,6 @@ bool XTL::VertexPatcher::ApplyCachedStream(VertexPatchDesc *pPatchDesc,
}
}
/*
// Use the cached stream length (which is a must for the UP stream)
uint32_t uiHash = XXHash32::hash((void *)pCalculateData, pCachedStream->uiLength, HASH_SEED);
if(uiHash == pCachedStream->uiHash)
@ -303,7 +302,7 @@ bool XTL::VertexPatcher::ApplyCachedStream(VertexPatchDesc *pPatchDesc,
}
pCachedStream->uiCount = 0;
}
else */
else
{
// TODO: Do something about this
if(pCachedStream->bIsUP)