1
0
mirror of https://foundry.openuru.org/gitblit/r/CWE-ou-minkata.git synced 2025-07-17 10:52:46 +00:00

Compare commits

..

1 Commits

Author SHA1 Message Date
38bf3ed1dc Merge branch 'ticket/17' into working 2021-08-11 14:17:14 -06:00
3 changed files with 4 additions and 3 deletions

2
.gitmodules vendored
View File

@ -1,3 +1,3 @@
[submodule "SDK-binary-VS2010"] [submodule "SDK-binary-VS2010"]
path = Build/VS2010/SDK-binary path = Build/VS2010/SDK-binary
url = http://urufoundry/gitblit/r/CWE-SDKs/SDK-binary-VS2010 url = https://foundry.openuru.org/gitblit/r/CWE-SDKs/SDK-binary-VS2010

View File

@ -107,7 +107,7 @@ void pyVaultPlayerInfoListNode::AddPlayer( UInt32 playerID )
if (HasPlayer(playerID) || !fNode) if (HasPlayer(playerID) || !fNode)
return; return;
NetVaultNode* templateNode = NEWZERO(NetVaultNode); NetVaultNode* templateNode = new NetVaultNode();
templateNode->IncRef(); templateNode->IncRef();
templateNode->SetNodeType(plVault::kNodeType_PlayerInfo); templateNode->SetNodeType(plVault::kNodeType_PlayerInfo);
VaultPlayerInfoNode access(templateNode); VaultPlayerInfoNode access(templateNode);

View File

@ -8663,9 +8663,10 @@ hsBool plDXPipeline::IProcessMipmapLevels( plMipmap *mipmap, UInt32 &numLevels,
if( mipmap->IsCompressed() || !( fSettings.fD3DCaps & kCapsDoesSmallTextures ) ) if( mipmap->IsCompressed() || !( fSettings.fD3DCaps & kCapsDoesSmallTextures ) )
{ {
mipmap->SetCurrLevel( maxLevel ); mipmap->SetCurrLevel( maxLevel );
while( maxLevel > 0 && (( mipmap->GetCurrWidth() | mipmap->GetCurrHeight() ) & sizeMask) ) while( ( mipmap->GetCurrWidth() | mipmap->GetCurrHeight() ) & sizeMask )
{ {
maxLevel--; maxLevel--;
hsAssert( maxLevel >= 0, "How was this ever compressed?" );
mipmap->SetCurrLevel( maxLevel ); mipmap->SetCurrLevel( maxLevel );
} }
} }