Remove dead Win32 error state from compressed storage

This commit is contained in:
notmatthewbeshay 2026-03-11 07:33:30 +11:00
parent e18941ced7
commit c2b3537c62

View file

@ -1051,7 +1051,6 @@ void CompressedTileStorage::compress(int upgradeBlock/*=-1*/)
unsigned char *newIndicesAndData = (unsigned char *)XPhysicalAlloc(memToAlloc, MAXULONG_PTR, 4096, PAGE_READWRITE);//(unsigned char *)malloc( memToAlloc );
if( newIndicesAndData == NULL )
{
DWORD lastError = GetLastError();
#ifndef _DURANGO
MEMORYSTATUS memStatus;
GlobalMemoryStatus(&memStatus);
@ -1358,4 +1357,4 @@ void CompressedTileStorage::reverseIndices(unsigned char *indices)
{
System::ReverseUSHORT(&blockIndices[i]);
}
}
}