Ignore:
Timestamp:
Oct 3, 2001, 3:49:41 PM (24 years ago)
Author:
sandervl
Message:

take clipping info into account when blitting

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/ddraw/OS2CLIPPER.CPP

    r6901 r6935  
    1 /* $Id: OS2CLIPPER.CPP,v 1.13 2001-09-30 22:23:44 sandervl Exp $ */
     1/* $Id: OS2CLIPPER.CPP,v 1.14 2001-10-03 13:49:39 sandervl Exp $ */
    22
    33/*
    44 * DX clipper class routines
    55 *
    6  * Copyright 1998 Sander van Leeuwen
     6 * Copyright 1998-2001 Sander van Leeuwen
    77 * Copyright 1999 Markus Montkowski
    88 *
    99 * Project Odin Software License can be found in LICENSE.TXT
     10 *
     11 * TODO: This is NOT THREAD SAFE!!!
    1012 *
    1113 */
     
    4850  // lpDraw->Vtbl.AddRef(lpDraw);
    4951  // hDive                   = lpDirectDraw->GetDiveInstance();
     52
    5053}
    5154
     
    142145
    143146  if(!lpdwSize) {
    144         return DDERR_INVALIDPARAMS;
     147      return DDERR_INVALIDPARAMS;
     148  }
     149  if(lpRect) {
     150      dprintf(("WARNING: clipping the cliplist is not yet implemented"));
    145151  }
    146152  if(me->clipWindow)
     
    153159          return DDERR_NOCLIPLIST;
    154160      }
     161      //TODO: This is NOT THREAD SAFE!!!
    155162      regiondatasize = me->lpRgnData->rdh.dwSize + me->lpRgnData->rdh.nCount*sizeof(RECT);
    156163      if(lpClipList == NULL) {
Note: See TracChangeset for help on using the changeset viewer.