Diff for /xmil/common/bmpdata.c between versions 1.2 and 1.3

version 1.2, 2004/08/18 15:42:31 version 1.3, 2008/06/02 20:07:30
Line 70  UINT bmpdata_setinfo(BMPINFO *bi, const  Line 70  UINT bmpdata_setinfo(BMPINFO *bi, const 
         STOREINTELDWORD(bi->biHeight, inf->height);          STOREINTELDWORD(bi->biHeight, inf->height);
         STOREINTELWORD(bi->biPlanes, 1);          STOREINTELWORD(bi->biPlanes, 1);
         STOREINTELWORD(bi->biBitCount, inf->bpp);          STOREINTELWORD(bi->biBitCount, inf->bpp);
 //      STOREINTELDWORD(bi->biCompression, BI_RGB);  /*      STOREINTELDWORD(bi->biCompression, BI_RGB); */
         ret = bmpdata_getdatasize(bi);          ret = bmpdata_getdatasize(bi);
         STOREINTELDWORD(bi->biSizeImage, ret);          STOREINTELDWORD(bi->biSizeImage, ret);
 //      STOREINTELDWORD(bi->biXPelsPerMeter, 0);  
 //      STOREINTELDWORD(bi->biYPelsPerMeter, 0);  
         if (inf->bpp <= 8) {          if (inf->bpp <= 8) {
                 tmp = 1 << inf->bpp;                  tmp = 1 << inf->bpp;
                 STOREINTELDWORD(bi->biClrUsed, tmp);                  STOREINTELDWORD(bi->biClrUsed, tmp);

Removed from v.1.2  
changed lines
  Added in v.1.3


RetroPC.NET-CVS <cvs@retropc.net>