Ignore:
Timestamp:
Aug 18, 2000, 8:14:59 PM (25 years ago)
Author:
sandervl
Message:

lots of small changes; CreateHalftonePalette + rgb 565 -> rgb 555 conversion

File:
1 edited

Legend:

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

    r3726 r4034  
    1 /* $Id: blit.cpp,v 1.15 2000-06-17 11:58:07 sandervl Exp $ */
     1/* $Id: blit.cpp,v 1.16 2000-08-18 18:14:56 sandervl Exp $ */
    22
    33/*
     
    244244        memcpy(infoLoc, info, sizeof(BITMAPINFO));
    245245
    246         if(GetDIBColorTable(hdc, 0, info->bmiHeader.biClrUsed, pColors) == 0)
     246        if(GetDIBColorTable(hdc, 0, info->bmiHeader.biClrUsed, pColors) == 0) {
     247                dprintf(("ERROR: StretchDIBits: GetDIBColorTable failed!!"));
    247248                return FALSE;
    248 
     249        }
    249250        for(i=0;i<info->bmiHeader.biClrUsed;i++, pColorIndex++)
    250251        {
     
    268269        return rc;
    269270    }
    270 
    271271    rc = O32_StretchDIBits(hdc, xDst, yDst, widthDst, heightDst, xSrc, ySrc,
    272272                             widthSrc, heightSrc, (void *)bits,
Note: See TracChangeset for help on using the changeset viewer.