Changeset 4254 for trunk/src/gdi32/blit.cpp
- Timestamp:
- Sep 13, 2000, 11:00:22 PM (25 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/gdi32/blit.cpp
r4127 r4254 1 /* $Id: blit.cpp,v 1.1 7 2000-08-30 18:05:24sandervl Exp $ */1 /* $Id: blit.cpp,v 1.18 2000-09-13 21:00:22 sandervl Exp $ */ 2 2 3 3 /* … … 256 256 (PBITMAPINFO)infoLoc, DIB_RGB_COLORS, dwRop); 257 257 258 if(rc != heightSrc) { 258 //Open32 always returns height of bitmap (regardless of how many scanlines were copied) 259 if(rc != heightSrc && rc != infoLoc->bmiHeader.biHeight) { 259 260 dprintf(("StretchDIBits failed with rc %x", rc)); 260 261 } 261 262 else { 263 rc = heightSrc; 264 262 265 DIBSection *destdib = DIBSection::findHDC(hdc); 263 266 if(destdib) { … … 277 280 widthSrc, heightSrc, (void *)bits, 278 281 (PBITMAPINFO)info, wUsage, dwRop); 279 if(rc != heightSrc) { 282 //Open32 always returns height of bitmap (regardless of how many scanlines were copied) 283 if(rc != heightSrc && rc != info->bmiHeader.biHeight) { 280 284 dprintf(("StretchDIBits failed with rc %x", rc)); 281 285 } 282 else { 286 else 287 { 288 rc = heightSrc; 289 283 290 DIBSection *destdib = DIBSection::findHDC(hdc); 284 291 if(destdib) {
Note:
See TracChangeset
for help on using the changeset viewer.