Ignore:
Timestamp:
Dec 31, 2001, 1:08:23 PM (24 years ago)
Author:
sandervl
Message:

use critical section in dib section class instead of vmutex

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/gdi32/blit.cpp

    r7713 r7717  
    1 /* $Id: blit.cpp,v 1.36 2001-12-30 22:19:04 sandervl Exp $ */
     1/* $Id: blit.cpp,v 1.37 2001-12-31 12:08:20 sandervl Exp $ */
    22
    33/*
     
    3838  dprintf(("GDI32: StretchBlt Src : %x (%d, %d) size (%d, %d)\n",
    3939           hdcSrc, nXOriginSrc, nYOriginSrc, nWidthSrc, nHeightSrc));
     40
    4041  SetLastError(ERROR_SUCCESS);
    4142  if(DIBSection::getSection() != NULL)
     
    4849                             nXOriginSrc, nYOriginSrc, nWidthSrc, nHeightSrc,
    4950                             dwRop);
     51        dprintf(("GDI32: StretchBlt returned %d", rc));
    5052        return rc;
    5153    }
     
    5759          destdib->sync(hdcDest, nYOriginDest, nHeightDest);
    5860      }
     61  }
     62  if(rc == FALSE) {
     63      dprintf(("!WARNING!: GDI32: StretchBlt returned FALSE; last error %x", rc, GetLastError()));
    5964  }
    6065  return rc;
     
    7378{
    7479  BOOL rc;
     80
     81  POINT point1, point2;
     82  GetViewportOrgEx(hdcDest, &point1);
     83  GetViewportOrgEx(hdcSrc, &point2);
     84  dprintf(("BitBlt: Viewport origin dest (%d,%d) src (%d,%d)", point1.x, point1.y, point2.x, point2.y));
    7585
    7686  SetLastError(ERROR_SUCCESS);
Note: See TracChangeset for help on using the changeset viewer.