Author: gschneider Date: Sun Dec 20 23:35:16 2009 New Revision: 44677
URL: http://svn.reactos.org/svn/reactos?rev=44677&view=rev Log: [win32k] - Make DC_UpdateXforms update DeviceToWorld conversion matrix as well - Fixes four gdi32 mapping tests and drawing in applications that use DPtoLP (Yuan's coordinate space test for example)
Modified: trunk/reactos/subsystems/win32/win32k/objects/coord.c
Modified: trunk/reactos/subsystems/win32/win32k/objects/coord.c URL: http://svn.reactos.org/svn/reactos/trunk/reactos/subsystems/win32/win32k/obj... ============================================================================== --- trunk/reactos/subsystems/win32/win32k/objects/coord.c [iso-8859-1] (original) +++ trunk/reactos/subsystems/win32/win32k/objects/coord.c [iso-8859-1] Sun Dec 20 23:35:16 2009 @@ -1119,8 +1119,9 @@ pdcattr->flXform |= DEVICE_TO_WORLD_INVALID; }
+ /* Update transformation matrices */ XForm2MatrixS(&dc->dclevel.mxWorldToDevice, &xformWorld2Vport); - + XForm2MatrixS(&dc->dclevel.mxDeviceToWorld, &xformVport2World); }
LONG FASTCALL