Ignore:
Timestamp:
May 24, 2001, 10:18:45 AM (24 years ago)
Author:
sandervl
Message:

SetDIBitsToDevice fix

File:
1 edited

Legend:

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

    r5690 r5790  
    1 /* $Id: blit.cpp,v 1.27 2001-05-11 17:09:45 sandervl Exp $ */
     1/* $Id: blit.cpp,v 1.28 2001-05-24 08:18:45 sandervl Exp $ */
    22
    33/*
     
    158158        break;
    159159    }
     160
    160161    if(bitfields[1] == 0x3E0)
    161162    {//RGB 555?
     
    248249        return rc;
    249250    }
     251//SvL: Breaks startup bitmap of Acrobat Reader 4.05
     252#if 0
    250253    else
    251254    if(info->bmiHeader.biBitCount == 8 && info->bmiHeader.biCompression == 0 && !(GetDeviceCaps( hdc, RASTERCAPS ) & RC_PALETTE)) {
     
    314317        }
    315318        return rc;
    316     } else {
     319    }
     320#endif
     321    else {
    317322        return SetDIBitsToDevice_( hdc, xDest, yDest, cx, cy, xSrc, ySrc, startscan, lines, bits, info, coloruse );
    318323    }
Note: See TracChangeset for help on using the changeset viewer.