Changeset 2802 for trunk/src/gdi32/dibsect.cpp
- Timestamp:
- Feb 16, 2000, 3:25:43 PM (26 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/gdi32/dibsect.cpp
r2718 r2802 1 /* $Id: dibsect.cpp,v 1.1 7 2000-02-10 00:36:10sandervl Exp $ */1 /* $Id: dibsect.cpp,v 1.18 2000-02-16 14:18:09 sandervl Exp $ */ 2 2 3 3 /* … … 27 27 #include "oslibgpi.h" 28 28 29 #define DBG_LOCALLOG DBG_dibsect 30 #include "dbglocal.h" 31 29 32 //Win32 apis used: 30 33 HWND WIN32API WindowFromDC(HDC hdc); … … 237 240 if(bmpsize & 3) 238 241 { 239 bmpsize = (bmpsize + 3) & ~3;242 bmpsize = (bmpsize + 3) & ~3; 240 243 } 241 244 … … 251 254 pOS2bmp->cbImage = pbmi->biSizeImage; 252 255 256 dprintf(("DIBSection::SetDIBits (%d,%d), %d %d", pbmi->biWidth, pbmi->biHeight, pbmi->biBitCount, pbmi->biCompression)); 257 253 258 if(palsize) 254 259 memcpy(pOS2bmp->argbColor, (char *)pbmi + 1 , palsize);
Note:
See TracChangeset
for help on using the changeset viewer.