wined3d: Fix the center offset in get_projection_matrix.
commit235908a7a6f6f85a45edb8b9681f3b12d58d7351
authorStefan Dösinger <stefan@codeweavers.com>
Wed, 29 Sep 2021 19:42:57 +0000 (29 22:42 +0300)
committerAlexandre Julliard <julliard@winehq.org>
Tue, 5 Oct 2021 18:09:20 +0000 (5 20:09 +0200)
treee3584990cf3ad2252e2236ff6f93034d0a5e458f
parentd2daa8b902a4ee9c1076c5b55356788278840462
wined3d: Fix the center offset in get_projection_matrix.

If we have clip control, viewport_miscpart_cc applies both the half pixel
offset and the filling convention nudge. We always have integer pixel centers
in this <= d3d9-only codepath.

Signed-off-by: Stefan Dösinger <stefan@codeweavers.com>
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
dlls/wined3d/utils.c