mirror of
https://github.com/reactos/reactos.git
synced 2025-08-02 17:56:06 +00:00
[WIN32K] Use INTERNAL_LPTODP in IntLPtoDP
Instead of initializing a XFORMOBJ and whatnot
This commit is contained in:
parent
26b5596a11
commit
3bad3c49e1
3 changed files with 5 additions and 5 deletions
|
@ -6,7 +6,7 @@
|
|||
|
||||
#define IntLPtoDP(pdc, ppt, count) do { \
|
||||
DC_vUpdateWorldToDevice(pdc); \
|
||||
DC_vXformWorldToDevice(pdc, count, (PPOINTL)(ppt), (PPOINTL)(ppt)); \
|
||||
INTERNAL_LPTODP(pdc, ppt, count); \
|
||||
} while (0)
|
||||
#define CoordLPtoDP(pdc, ppt) \
|
||||
DC_vXformWorldToDevice(pdc, 1, (PPOINTL)(ppt), (PPOINTL)(ppt));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue