Author: tkreuzer
Date: Wed Nov 12 10:15:09 2014
New Revision: 65382
URL:
http://svn.reactos.org/svn/reactos?rev=65382&view=rev
Log:
[WIN32K]
Allow arbitrary transforms in NtGdiExtCreateRegion.
Shearing and rotation are not handled correctly yet, but at least we do no longer fail on
transforms that have scaling and an offset, which are classified as GX_GENERAL
Modified:
trunk/reactos/win32ss/gdi/ntgdi/region.c
Modified: trunk/reactos/win32ss/gdi/ntgdi/region.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/win32ss/gdi/ntgdi/region.c…
==============================================================================
--- trunk/reactos/win32ss/gdi/ntgdi/region.c [iso-8859-1] (original)
+++ trunk/reactos/win32ss/gdi/ntgdi/region.c [iso-8859-1] Wed Nov 12 10:15:09 2014
@@ -3668,8 +3668,8 @@
XFORMOBJ_vInit(&xo, &matrix);
ret = XFORMOBJ_iSetXform(&xo, (XFORML*)Xform);
- /* Check for error, also no scale and shear allowed */
- if (ret != DDI_ERROR && ret != GX_GENERAL)
+ /* Check for error */
+ if (ret != DDI_ERROR)
{
/* Apply the coordinate transformation on the rects */
if (XFORMOBJ_bApplyXform(&xo,