Author: fireball Date: Thu Aug 13 15:13:54 2009 New Revision: 42655
URL: http://svn.reactos.org/svn/reactos?rev=42655&view=rev Log: - If SetDeviceClipping is called without any rectangles, set clip region to cover whole surface, and remove annoying debug message related to that.
Modified: branches/arwinss/reactos/subsystems/win32/win32k/gdi/dc.c
Modified: branches/arwinss/reactos/subsystems/win32/win32k/gdi/dc.c URL: http://svn.reactos.org/svn/reactos/branches/arwinss/reactos/subsystems/win32... ============================================================================== --- branches/arwinss/reactos/subsystems/win32/win32k/gdi/dc.c [iso-8859-1] (original) +++ branches/arwinss/reactos/subsystems/win32/win32k/gdi/dc.c [iso-8859-1] Thu Aug 13 15:13:54 2009 @@ -445,16 +445,20 @@ if (count == 0) { /* Special case, set it to full screen then */ - RECTL_vSetRect(&rcSafeBounds, + /*RECTL_vSetRect(&rcSafeBounds, pDC->rcVport.left, pDC->rcVport.top, pDC->rcVport.right, - pDC->rcVport.bottom); + pDC->rcVport.bottom);*/ + + RECTL_vSetRect(&rcSafeBounds, + 0, + 0, + pDC->pBitmap->SurfObj.sizlBitmap.cx, + pDC->pBitmap->SurfObj.sizlBitmap.cy);
/* Set the clipping object */ pDC->CombinedClip = IntEngCreateClipRegion(1, &rcSafeBounds, &rcSafeBounds); - - DPRINT1("FIXME: Setting device clipping to NULL region, using full screen instead\n"); } else {