mirror of
https://github.com/4jcraft/4jcraft.git
synced 2026-05-12 23:17:14 +00:00
Remove dead Win32 error state from compressed storage
This commit is contained in:
parent
e18941ced7
commit
c2b3537c62
|
|
@ -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]);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue