summaryrefslogtreecommitdiff
path: root/Source/Core/VideoCommon/FramebufferManager.cpp
diff options
context:
space:
mode:
authorStenzek <stenzek@gmail.com>2019-03-27 23:28:34 +1000
committerStenzek <stenzek@gmail.com>2019-03-27 23:28:34 +1000
commit92fa6c34cd2394d93855e20f75c1e51baee2bcbe (patch)
treefc2ad556c4cb9f9dd6fe10150e5015961d34d3ee /Source/Core/VideoCommon/FramebufferManager.cpp
parentc28393d6f90efe8503525ab905cf48056220d3e3 (diff)
FramebufferManager: Fix EFB pokes being offset by 1 in D3D
Diffstat (limited to 'Source/Core/VideoCommon/FramebufferManager.cpp')
-rw-r--r--Source/Core/VideoCommon/FramebufferManager.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/Core/VideoCommon/FramebufferManager.cpp b/Source/Core/VideoCommon/FramebufferManager.cpp
index c308fcebfc..57d7f526f4 100644
--- a/Source/Core/VideoCommon/FramebufferManager.cpp
+++ b/Source/Core/VideoCommon/FramebufferManager.cpp
@@ -743,7 +743,7 @@ void FramebufferManager::CreatePokeVertices(std::vector<EFBPokeVertex>* destinat
const float x1 = static_cast<float>(x) * cs_pixel_width - 1.0f;
const float y1 = 1.0f - static_cast<float>(y) * cs_pixel_height;
const float x2 = x1 + cs_pixel_width;
- const float y2 = y1 + cs_pixel_height;
+ const float y2 = y1 - cs_pixel_height;
destination_list->push_back({{x1, y1, z, 1.0f}, color});
destination_list->push_back({{x2, y1, z, 1.0f}, color});
destination_list->push_back({{x1, y2, z, 1.0f}, color});