- Timestamp:
- Nov 23, 2000, 8:23:01 PM (25 years ago)
- Location:
- trunk/src/gdi32
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/gdi32/dibsect.cpp
r4574 r4681 1 /* $Id: dibsect.cpp,v 1.4 2 2000-11-09 18:16:56sandervl Exp $ */1 /* $Id: dibsect.cpp,v 1.43 2000-11-23 19:23:01 sandervl Exp $ */ 2 2 3 3 /* … … 108 108 pOS2bmp->cPlanes = pbmi->biPlanes; 109 109 pOS2bmp->cBitCount = pbmi->biBitCount; 110 pOS2bmp->ulCompression = pbmi->biCompression; 110 pOS2bmp->ulCompression = pbmi->biCompression; //same as OS/2 (uncompressed, rle8, rle4) 111 111 //SvL: Ignore BI_BITFIELDS_W type (GpiDrawBits fails otherwise) 112 112 if(pOS2bmp->ulCompression == BI_BITFIELDS_W) { … … 297 297 pOS2bmp->cPlanes = pbmi->biPlanes; 298 298 pOS2bmp->cBitCount = pbmi->biBitCount; 299 pOS2bmp->ulCompression = pbmi->biCompression; 299 pOS2bmp->ulCompression = pbmi->biCompression; //same as OS/2 (uncompressed, rle8, rle4) 300 //SvL: Ignore BI_BITFIELDS_W type (GpiDrawBits fails otherwise) 301 if(pOS2bmp->ulCompression == BI_BITFIELDS_W) { 302 pOS2bmp->ulCompression = 0; 303 } 300 304 pOS2bmp->cbImage = pbmi->biSizeImage; 301 305 … … 364 368 if(bits) 365 369 { 366 int size = bmpsize*lines; 367 memcpy(bmpBits+bmpsize*startscan, bits, size); 370 if(pOS2bmp->ulCompression == BCA_UNCOMP) { 371 int size = bmpsize*lines; 372 memcpy(bmpBits+bmpsize*startscan, bits, size); 373 } 374 else { 375 dprintf(("Compressed image!!")); 376 if(startscan != 0) { 377 dprintf(("WARNING: Compressed image & startscan != 0!!!!")); 378 } 379 memcpy(bmpBits, bits, pbmi->biSizeImage); 380 } 368 381 } 369 382 return(lines); -
trunk/src/gdi32/gdi32rsrc.orc
r4045 r4681 1 /* $Id: gdi32rsrc.orc,v 1. 2 2000-08-19 13:01:07sandervl Exp $ */1 /* $Id: gdi32rsrc.orc,v 1.3 2000-11-23 19:23:01 sandervl Exp $ */ 2 2 3 3 #include "winuser.h" … … 28 28 VALUE "FileVersion", "4.00\0" 29 29 VALUE "InternalName", "GDI32\0" 30 VALUE "LegalCopyright", "Copyright (C) 1999\0"30 VALUE "LegalCopyright", "Copyright (C) 2000\0" 31 31 VALUE "LegalTrademarks", "\0" 32 32 VALUE "OriginalFilename", "GDI32.DLL\0"
Note:
See TracChangeset
for help on using the changeset viewer.