[Gdi32]
[reactos.git] / reactos / win32ss / gdi / gdi32 / wine / enhmfdrv / bitblt.c
index db0274d..9e87413 100644 (file)
@@ -122,7 +122,11 @@ BOOL EMFDRV_StretchBlt( PHYSDEV devDst, struct bitblt_coords *dst,
     pEMR->dwRop = rop;
     pEMR->xSrc = src->log_x;
     pEMR->ySrc = src->log_y;
-    GetWorldTransform(devSrc->hdc, &pEMR->xformSrc);
+#ifdef __REACTOS__
+    NtGdiGetTransform(devSrc->hdc, GdiWorldSpaceToDeviceSpace, &pEMR->xformSrc);
+#else
+    GetTransform(devSrc->hdc, 0x204, &pEMR->xformSrc);
+#endif
     pEMR->crBkColorSrc = GetBkColor(devSrc->hdc);
     pEMR->iUsageSrc = DIB_RGB_COLORS;
     pEMR->offBmiSrc = emrSize;