Skip to content
Permalink
Browse files

FramebufferManager: Fix EFB pokes being offset by 1 in D3D

  • Loading branch information...
stenzek committed Mar 27, 2019
1 parent c28393d commit 92fa6c34cd2394d93855e20f75c1e51baee2bcbe
Showing with 1 addition and 1 deletion.
  1. +1 −1 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});

0 comments on commit 92fa6c3

Please sign in to comment.
You can’t perform that action at this time.