Henri Verbeet : d2d1: Fix a typo in the determinant calculation in d2d_d3d_render_target_FillRectangle ().
Module: wine Branch: master Commit: efe777c8ac9957c1a02282367ca1b597b5ab2d8c URL: http://source.winehq.org/git/wine.git/?a=commit;h=efe777c8ac9957c1a02282367c... Author: Henri Verbeet <hverbeet(a)codeweavers.com> Date: Tue Mar 31 10:25:00 2015 +0200 d2d1: Fix a typo in the determinant calculation in d2d_d3d_render_target_FillRectangle(). --- dlls/d2d1/render_target.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dlls/d2d1/render_target.c b/dlls/d2d1/render_target.c index c078989..fe7b947 100644 --- a/dlls/d2d1/render_target.c +++ b/dlls/d2d1/render_target.c @@ -617,7 +617,7 @@ static void STDMETHODCALLTYPE d2d_d3d_render_target_FillRectangle(ID2D1RenderTar /* Invert the matrix. (Because the matrix is applied to the sampling * coordinates. I.e., to scale the bitmap by 2 we need to divide the * coordinates by 2.) */ - d = transform._11 * transform._22 - transform._21 * transform._22; + d = transform._11 * transform._22 - transform._21 * transform._12; if (d != 0.0f) { transform_inverse._11 = transform._22 / d;
participants (1)
-
Alexandre Julliard