bullet: Sync with upstream 3.07

This commit is contained in:
Rémi Verschelde
2020-12-17 13:51:12 +01:00
parent 214a22b98e
commit 3cbf8bde84
75 changed files with 8756 additions and 7818 deletions
@@ -851,12 +851,12 @@ void bFile::swapData(char *data, short type, int arraySize, bool ignoreEndianFla
void bFile::safeSwapPtr(char *dst, const char *src)
{
if (!src || !dst)
return;
int ptrFile = mFileDNA->getPointerSize();
int ptrMem = mMemoryDNA->getPointerSize();
if (!src && !dst)
return;
if (ptrFile == ptrMem)
{
memcpy(dst, src, ptrMem);