From 8b60a45ea6f70a288e22944fc7a2e755dd3e1976 Mon Sep 17 00:00:00 2001 From: Magnus Olsen Date: Tue, 3 Jan 2006 17:59:56 +0000 Subject: [PATCH] forget remove some test code. svn path=/trunk/; revision=20549 --- reactos/subsys/win32k/dib/dib16bpp.c | 38 ---------------------------- 1 file changed, 38 deletions(-) diff --git a/reactos/subsys/win32k/dib/dib16bpp.c b/reactos/subsys/win32k/dib/dib16bpp.c index 5e816026082..b4603e085e8 100644 --- a/reactos/subsys/win32k/dib/dib16bpp.c +++ b/reactos/subsys/win32k/dib/dib16bpp.c @@ -603,44 +603,6 @@ BOOLEAN ScaleRectAvg16(SURFOBJ *DestSurf, SURFOBJ *SourceSurf, return TRUE; } -/* check clib region */ -BOOLEAN CheckClipRegion(CLIPOBJ *ClipRegion, RECTL* DestRect, int DesX, int DesY) -{ - BOOLEAN status = FALSE; - PSPAN ClipSpans; - UINT ClipSpansCount; - UINT SpanIndex = 0; - - if (! ClipobjToSpans(&ClipSpans, &ClipSpansCount, ClipRegion, DestRect)) - { - return FALSE; - } - - if (0 == ClipSpansCount) - { - /* No clip spans == empty clipping region, everything clipped away */ - ASSERT(NULL == ClipSpans); - return FALSE; - } - - for (SpanIndex=0; SpanIndex DesY) - status = FALSE; - - if (ClipSpans[SpanIndex].X > DesX) - status = FALSE; - - if (ClipSpans[SpanIndex].X+ClipSpans[SpanIndex].Width > DesX) - status = FALSE; - } - - return status; -} - //NOTE: If you change something here, please do the same in other dibXXbpp.c files! BOOLEAN DIB_16BPP_StretchBlt(SURFOBJ *DestSurf, SURFOBJ *SourceSurf,