Changeset 5967 for trunk/src/gdi32/blit.cpp
- Timestamp:
- Jun 11, 2001, 5:57:15 PM (24 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/gdi32/blit.cpp
r5901 r5967 1 /* $Id: blit.cpp,v 1.3 1 2001-06-03 14:52:46sandervl Exp $ */1 /* $Id: blit.cpp,v 1.32 2001-06-11 15:57:15 sandervl Exp $ */ 2 2 3 3 /* … … 142 142 switch(info->bmiHeader.biBitCount) { 143 143 case 15: 144 case 16: 144 case 16: //Default if BI_BITFIELDS not set is RGB 555 145 145 bitfields[0] = (info->bmiHeader.biCompression == BI_BITFIELDS) ? *(DWORD *)info->bmiColors : 0x7c00; 146 146 bitfields[1] = (info->bmiHeader.biCompression == BI_BITFIELDS) ? *((DWORD *)info->bmiColors + 1) : 0x03e0; … … 436 436 switch(info->bmiHeader.biBitCount) { 437 437 case 15: 438 case 16: 438 case 16: //Default if BI_BITFIELDS not set is RGB 555 439 439 bitfields[0] = (info->bmiHeader.biCompression == BI_BITFIELDS) ? *(DWORD *)info->bmiColors : 0x7c00; 440 440 bitfields[1] = (info->bmiHeader.biCompression == BI_BITFIELDS) ? *((DWORD *)info->bmiColors + 1) : 0x03e0;
Note:
See TracChangeset
for help on using the changeset viewer.