mirror of
https://github.com/reactos/reactos.git
synced 2025-04-25 16:10:29 +00:00
[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) svn path=/trunk/; revision=44677
This commit is contained in:
parent
f51abbcf0c
commit
bd574fdd85
1 changed files with 2 additions and 1 deletions
|
@ -1119,8 +1119,9 @@ DC_UpdateXforms(PDC dc)
|
||||||
pdcattr->flXform |= DEVICE_TO_WORLD_INVALID;
|
pdcattr->flXform |= DEVICE_TO_WORLD_INVALID;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* Update transformation matrices */
|
||||||
XForm2MatrixS(&dc->dclevel.mxWorldToDevice, &xformWorld2Vport);
|
XForm2MatrixS(&dc->dclevel.mxWorldToDevice, &xformWorld2Vport);
|
||||||
|
XForm2MatrixS(&dc->dclevel.mxDeviceToWorld, &xformVport2World);
|
||||||
}
|
}
|
||||||
|
|
||||||
LONG FASTCALL
|
LONG FASTCALL
|
||||||
|
|
Loading…
Reference in a new issue