Use SV_POSITION instead to compute pixel coordinates instead of fiddling with the polygon. This should fix the image being offset by 1 pixel.

This commit is contained in:
elasota
2020-11-12 19:15:50 -05:00
parent 2c073937c3
commit 801408077a
4 changed files with 95 additions and 91 deletions

View File

@@ -99,7 +99,8 @@ private:
{
float m_dx;
float m_dy;
float m_unused[2];
float m_invScaleX;
float m_invScaleY;
};
struct CompactedPresentHistoryItem