summaryrefslogtreecommitdiff
path: root/Source/Core/VideoCommon/AsyncRequests.cpp
diff options
context:
space:
mode:
authorStenzek <stenzek@gmail.com>2019-03-31 14:11:53 +1000
committerStenzek <stenzek@gmail.com>2019-04-21 12:41:15 +1000
commit708bd3d9f7f375fba750561758abab77c99fa0af (patch)
treeedf44955def2713b8242166020662f5bb4bc6883 /Source/Core/VideoCommon/AsyncRequests.cpp
parentdbaba0062a057836b31455d7abe3fea6a20b99d8 (diff)
TextureCache: Simplify XFB reconstruction
This also better handles in-memory interlaced XFB data placed by the CPU by considering the stride from the VI.
Diffstat (limited to 'Source/Core/VideoCommon/AsyncRequests.cpp')
-rw-r--r--Source/Core/VideoCommon/AsyncRequests.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/Source/Core/VideoCommon/AsyncRequests.cpp b/Source/Core/VideoCommon/AsyncRequests.cpp
index 28769925c9..cefd8541c4 100644
--- a/Source/Core/VideoCommon/AsyncRequests.cpp
+++ b/Source/Core/VideoCommon/AsyncRequests.cpp
@@ -113,7 +113,6 @@ void AsyncRequests::SetEnable(bool enable)
void AsyncRequests::HandleEvent(const AsyncRequests::Event& e)
{
- EFBRectangle rc;
switch (e.type)
{
case Event::EFB_POKE_COLOR:
@@ -145,7 +144,7 @@ void AsyncRequests::HandleEvent(const AsyncRequests::Event& e)
case Event::SWAP_EVENT:
g_renderer->Swap(e.swap_event.xfbAddr, e.swap_event.fbWidth, e.swap_event.fbStride,
- e.swap_event.fbHeight, rc, e.time);
+ e.swap_event.fbHeight, e.time);
break;
case Event::BBOX_READ: