Ignore:
Timestamp:
Nov 22, 2000, 10:03:53 PM (25 years ago)
Author:
sandervl
Message:

warning for StretchDIBits for 1bpp bitmaps added

File:
1 edited

Legend:

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

    r4533 r4676  
    1 /* $Id: blit.cpp,v 1.20 2000-10-26 17:20:28 sandervl Exp $ */
     1/* $Id: blit.cpp,v 1.21 2000-11-22 21:03:53 sandervl Exp $ */
    22
    33/*
     
    3434 BOOL rc;
    3535
    36   dprintf(("GDI32: StretchBlt Dest: %x (%d, %d) size (%d, %d)\n",
    37            hdcDest, nXOriginDest, nYOriginDest, nWidthDest, nHeightDest));
     36  dprintf(("GDI32: StretchBlt Dest: %x (%d, %d) size (%d, %d) ROP %x",
     37           hdcDest, nXOriginDest, nYOriginDest, nWidthDest, nHeightDest, dwRop));
    3838  dprintf(("GDI32: StretchBlt Src : %x (%d, %d) size (%d, %d)\n",
    3939           hdcSrc, nXOriginSrc, nYOriginSrc, nWidthSrc, nHeightSrc));
     
    251251
    252252    dprintf(("GDI32: StretchDIBits %x to (%d,%d) (%d,%d) from (%d,%d) (%d,%d), %x %x %x %x", hdc, xDst, yDst, widthDst, heightDst, xSrc, ySrc, widthSrc, heightSrc, bits, info, wUsage, dwRop));
     253
     254    if(info->bmiHeader.biBitCount == 1) {
     255        dprintf(("WARNING: StretchDIBits does NOT work correctly for 1 bpp bitmaps!!"));
     256    }
    253257
    254258    if(wUsage == DIB_PAL_COLORS && info->bmiHeader.biSize == sizeof(BITMAPINFOHEADER))
Note: See TracChangeset for help on using the changeset viewer.