mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-28 11:49:06 +00:00
Use empty instead of size
This commit is contained in:
parent
363ce67459
commit
49fe9f5db1
28 changed files with 56 additions and 56 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue