Minor cleanup.
This commit is contained in:
@@ -1586,8 +1586,8 @@ LLVFSBlock *LLVFS::findFreeBlock(S32 size, LLVFSFileBlock *immune)
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
LL_INFOS() << "VFS: LRU: Aggressive: " << (S32)lru_list.size() << " files remain" << LL_ENDL;
|
//LL_INFOS() << "VFS: LRU: Aggressive: " << (S32)lru_list.size() << " files remain" << LL_ENDL;
|
||||||
dumpLockCounts();
|
//dumpLockCounts();
|
||||||
|
|
||||||
// Now it's time to aggressively make more space
|
// Now it's time to aggressively make more space
|
||||||
// Delete the oldest 5MB of the vfs or enough to hold the file, which ever is larger
|
// Delete the oldest 5MB of the vfs or enough to hold the file, which ever is larger
|
||||||
|
|||||||
@@ -3057,7 +3057,7 @@ BOOL LLWindowWin32::setGamma(const F32 gamma)
|
|||||||
|
|
||||||
mCurrentGammaRamp[0][i] =
|
mCurrentGammaRamp[0][i] =
|
||||||
mCurrentGammaRamp[1][i] =
|
mCurrentGammaRamp[1][i] =
|
||||||
mCurrentGammaRamp[2][i] = (WORD) value;
|
mCurrentGammaRamp[2][i] = (WORD) value;
|
||||||
};
|
};
|
||||||
|
|
||||||
return SetDeviceGammaRamp ( mhDC, mCurrentGammaRamp );
|
return SetDeviceGammaRamp ( mhDC, mCurrentGammaRamp );
|
||||||
|
|||||||
@@ -695,7 +695,7 @@ bool LLInventoryCollectFunctor::itemTransferCommonlyAllowed(const LLInventoryIte
|
|||||||
return true;
|
return true;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
return false;
|
// return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
bool LLIsType::operator()(LLInventoryCategory* cat, LLInventoryItem* item)
|
bool LLIsType::operator()(LLInventoryCategory* cat, LLInventoryItem* item)
|
||||||
|
|||||||
@@ -146,7 +146,7 @@ void LLSkinningUtil::checkSkinWeights(const LLVector4a* weights, U32 num_vertice
|
|||||||
const S32 max_joints = skin->mJointNames.size();
|
const S32 max_joints = skin->mJointNames.size();
|
||||||
for (U32 j=0; j<num_vertices; j++)
|
for (U32 j=0; j<num_vertices; j++)
|
||||||
{
|
{
|
||||||
F32 *w = weights[j].getF32ptr();
|
const F32 *w = weights[j].getF32ptr();
|
||||||
|
|
||||||
F32 wsum = 0.0;
|
F32 wsum = 0.0;
|
||||||
for (U32 k=0; k<4; ++k)
|
for (U32 k=0; k<4; ++k)
|
||||||
|
|||||||
Reference in New Issue
Block a user