Skip to content

Commit

Permalink
[d3d9] Only apply 1/2 texel correctness factor to offset
Browse files Browse the repository at this point in the history
  • Loading branch information
misyltoad committed Apr 29, 2019
1 parent 860e214 commit 54a50c3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/d3d9/d3d9_device.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3660,7 +3660,7 @@ namespace dxvk {

viewport = VkViewport{
float(vp.X) + cf, float(vp.Height + vp.Y) + cf,
float(vp.Width) + cf, -float(vp.Height) - cf,
float(vp.Width), -float(vp.Height),
vp.MinZ, vp.MaxZ,
};

Expand Down

0 comments on commit 54a50c3

Please sign in to comment.