FramebufferManager: Fix EFB pokes being offset by 1 in D3D

This commit is contained in:
Stenzek 2019-03-27 23:28:34 +10:00
parent c28393d6f9
commit 92fa6c34cd

View File

@ -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});