Changeset 2718 for trunk/src/gdi32/dibitmap.cpp
- Timestamp:
- Feb 10, 2000, 1:36:11 AM (26 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/gdi32/dibitmap.cpp
r2600 r2718 1 /* $Id: dibitmap.cpp,v 1. 2 2000-02-02 23:45:06sandervl Exp $ */1 /* $Id: dibitmap.cpp,v 1.3 2000-02-10 00:36:10 sandervl Exp $ */ 2 2 3 3 /* … … 85 85 86 86 dprintf(("GDI32: CreateDIBSection %x %x %x %x %d", hdc, iUsage, ppvBits, hSection, dwOffset)); 87 if(hSection)88 {89 dprintf(("GDI32: CreateDIBSection, hSection != NULL, not supported!"));90 return NULL;91 }92 87 93 88 //SvL: 13-9-98: StarCraft uses bitmap with negative height … … 111 106 { 112 107 char PalSize; 113 DIBSection *dsect = new DIBSection((BITMAPINFOHEADER_W *)&pbmi->bmiHeader, (char *)&pbmi->bmiColors, iUsage, (DWORD)res, fFlip); 108 DIBSection *dsect; 109 110 dsect = new DIBSection((BITMAPINFOHEADER_W *)&pbmi->bmiHeader, (char *)&pbmi->bmiColors, iUsage, hSection, dwOffset, (DWORD)res, fFlip); 114 111 115 112 if(dsect != NULL)
Note:
See TracChangeset
for help on using the changeset viewer.