Merge pull request #7798 from ShFil119/impr/empty

Use empty instead of size
This commit is contained in:
Tilka
2019-02-13 01:59:43 +00:00
committed by GitHub
28 changed files with 56 additions and 56 deletions

View File

@ -890,7 +890,7 @@ void Renderer::UpdateEFBCache(EFBAccessType type, u32 cacheRectIdx, const EFBRec
{
const u32 cacheType = (type == EFBAccessType::PeekZ ? 0 : 1);
if (!s_efbCache[cacheType][cacheRectIdx].size())
if (s_efbCache[cacheType][cacheRectIdx].empty())
s_efbCache[cacheType][cacheRectIdx].resize(EFB_CACHE_RECT_SIZE * EFB_CACHE_RECT_SIZE);
u32 targetPixelRcWidth = targetPixelRc.right - targetPixelRc.left;