Changeset 8605 for trunk/src/ddraw/OS2SURFACE.CPP
- Timestamp:
- Jun 8, 2002, 4:20:07 PM (23 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/ddraw/OS2SURFACE.CPP
r8602 r8605 1 /* $Id: OS2SURFACE.CPP,v 1.4 1 2002-06-08 11:45:19sandervl Exp $ */1 /* $Id: OS2SURFACE.CPP,v 1.42 2002-06-08 14:20:06 sandervl Exp $ */ 2 2 3 3 /* … … 2479 2479 for(i=0;i<lpRgnData->rdh.nCount;i++) 2480 2480 { 2481 //win32 -> os2 coordinates (region data in screen coordinates) 2481 2482 temp = pRectl[i].yTop; 2482 pRectl[i].yTop = dest->DDSurfaceDesc.dwHeight- pRectl[i].yBottom;2483 pRectl[i].yBottom = dest->DDSurfaceDesc.dwHeight- temp;2483 pRectl[i].yTop = src->lpDraw->GetScreenHeight() - pRectl[i].yBottom; 2484 pRectl[i].yBottom = src->lpDraw->GetScreenHeight() - temp; 2484 2485 dprintf(("(%d,%d)(%d,%d)", pRectl[i].xLeft, pRectl[i].yBottom, pRectl[i].xRight, pRectl[i].yTop)); 2486 2485 2487 //clip rectangle must be relative to lScreenPos 2486 2488 pRectl[i].xLeft -= sBlt.lScreenPosX;
Note:
See TracChangeset
for help on using the changeset viewer.