mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2024-11-14 21:37:52 -07:00
VideoCommon/FramebufferManager: use !IsUsingTiledEFBCache() in GetEFBCacheTileRect
This is for readability only, and should behave identically.
This commit is contained in:
parent
90d05fe37e
commit
55e1c3b51d
@ -394,7 +394,7 @@ bool FramebufferManager::IsEFBCacheTilePresent(bool depth, u32 x, u32 y, u32* ti
|
||||
|
||||
MathUtil::Rectangle<int> FramebufferManager::GetEFBCacheTileRect(u32 tile_index) const
|
||||
{
|
||||
if (m_efb_cache_tile_size == 0)
|
||||
if (!IsUsingTiledEFBCache())
|
||||
return MathUtil::Rectangle<int>(0, 0, EFB_WIDTH, EFB_HEIGHT);
|
||||
|
||||
const u32 tile_y = tile_index / m_efb_cache_tiles_wide;
|
||||
|
Loading…
Reference in New Issue
Block a user