[WIN32K] Use INTERNAL_LPTODP in IntLPtoDP

Instead of initializing a XFORMOBJ and whatnot
This commit is contained in:
Jérôme Gardou 2021-03-17 16:21:58 +01:00 committed by Jérôme Gardou
parent 26b5596a11
commit 3bad3c49e1
3 changed files with 5 additions and 5 deletions

View file

@ -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));