Ignore:
Timestamp:
Jun 8, 2002, 4:20:07 PM (23 years ago)
Author:
sandervl
Message:

correct clipper bugfix

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/ddraw/oslibgpi.cpp

    r8602 r8605  
    1 /* $Id: oslibgpi.cpp,v 1.4 2002-06-08 11:45:20 sandervl Exp $ */
     1/* $Id: oslibgpi.cpp,v 1.5 2002-06-08 14:20:07 sandervl Exp $ */
    22
    33/*
     
    4949    }
    5050    hrgnVis = GreCreateRectRegion(hps, &rcl, 1);
    51 
    52     //If there's an update region, use it. else get visible region
    53     lComplexity = WinQueryUpdateRegion(hwndClientOS2, hrgnVis);
    54     if(lComplexity == RGN_ERROR || lComplexity == RGN_NULL)
    55     {
    56         dprintf(("No update region; take visible region"));
    57         GreCopyClipRegion(hps, hrgnVis, 0, COPYCRGN_VISRGN);
    58     }
     51    GreCopyClipRegion(hps, hrgnVis, 0, COPYCRGN_VISRGN);
    5952
    6053    RGNRECT rgnRect;
     
    7871    }
    7972    for(i=0;i<rgnRect.crcReturned;i++) {
    80         dprintf(("Region rect %d (%d,%d)(%d,%d)", i, pRectl[i].xLeft, pRectl[i].yBottom, pRectl[i].xRight, pRectl[i].yTop));
    81         //rectangle is in window coordinate; convert to screen
    82         WinMapWindowPoints(hwndClientOS2, HWND_DESKTOP, (PPOINTL)&pRectl[i], 2);
    8373        dprintf(("Region rect %d (%d,%d)(%d,%d)", i, pRectl[i].xLeft, pRectl[i].yBottom, pRectl[i].xRight, pRectl[i].yTop));
    8474        temp = pRectl[i].yTop;
Note: See TracChangeset for help on using the changeset viewer.