Changeset 6348 for trunk/src/user32/oslibres.cpp
- Timestamp:
- Jul 16, 2001, 9:32:55 PM (24 years ago)
- File:
-
- 1 edited
-
trunk/src/user32/oslibres.cpp (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/user32/oslibres.cpp
r6168 r6348 1 /* $Id: oslibres.cpp,v 1.1 5 2001-07-04 09:55:17sandervl Exp $ */1 /* $Id: oslibres.cpp,v 1.16 2001-07-16 19:32:55 sandervl Exp $ */ 2 2 /* 3 3 * Window API wrappers for OS/2 … … 246 246 247 247 hps = WinGetScreenPS(HWND_DESKTOP); 248 masksize = sizeof(BITMAPINFO2) + (pAndBmp->bmHeight * 2 * pAndBmp->bmWidthBytes) + 2*sizeof(RGB2); 248 //SvL: 2*sizeof(RGB2) is enough, but GpiCreateBitmap seems to touch more 249 // memory. (Adobe Photoshop 6 running in the debugger) 250 masksize = sizeof(BITMAPINFO2) + (pAndBmp->bmHeight * 2 * pAndBmp->bmWidthBytes) + 16*sizeof(RGB2); 249 251 pBmpMask = (BITMAPINFO2 *)malloc(masksize); 250 252 if(pBmpMask == NULL) {
Note:
See TracChangeset
for help on using the changeset viewer.
