Ignore:
Timestamp:
Jun 3, 2001, 4:52:47 PM (24 years ago)
Author:
sandervl
Message:

rgb conversions added + palette fix

File:
1 edited

Legend:

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

    r5825 r5901  
    1 /* $Id: dibsect.cpp,v 1.52 2001-05-29 09:45:21 sandervl Exp $ */
     1/* $Id: dibsect.cpp,v 1.53 2001-06-03 14:52:47 sandervl Exp $ */
    22
    33/*
     
    746746  memcpy(pOS2bmp, tmphdr, os2bmphdrsize);
    747747
    748 #if 0
    749748  if(dibinfo.dsBitfields[1] == 0x3E0) {//RGB 555?
    750749    dprintf(("DIBSection::sync: convert RGB 565 to RGB 555"));
     
    757756    else    RGB565to555((WORD *)destBuf, (WORD *)destBuf, (nDestHeight*dibinfo.dsBm.bmWidthBytes)/sizeof(WORD));
    758757  }
    759 #endif
     758
    760759  free(tmphdr);
    761760  if(rc != nDestHeight) {
Note: See TracChangeset for help on using the changeset viewer.