Changeset 6319 for trunk/src/gdi32
- Timestamp:
 - Jul 13, 2001, 9:34:21 PM (24 years ago)
 - File:
 - 
      
- 1 edited
 
- 
          
  trunk/src/gdi32/blit.cpp (modified) (3 diffs)
 
 
Legend:
- Unmodified
 - Added
 - Removed
 
- 
      
trunk/src/gdi32/blit.cpp
r5967 r6319 1 /* $Id: blit.cpp,v 1.3 2 2001-06-11 15:57:15sandervl Exp $ */1 /* $Id: blit.cpp,v 1.33 2001-07-13 19:34:21 sandervl Exp $ */ 2 2 3 3 /* … … 512 512 newInfo.bmiHeader.biHeight = -newInfo.bmiHeader.biHeight; 513 513 514 //TODO: doesn't work if memory is readonly!! 515 ((BITMAPINFO *)info)->bmiHeader.biHeight = -info->bmiHeader.biHeight; 516 514 517 char *newBits = (char *)malloc( lLineByte * lHeight ); 515 518 if(newBits) { … … 524 527 free( newBits ); 525 528 } 529 530 //TODO: doesn't work if memory is readonly!! 531 ((BITMAPINFO *)info)->bmiHeader.biHeight = -info->bmiHeader.biHeight; 526 532 return rc; 527 533 } else {  
  Note:
 See   TracChangeset
 for help on using the changeset viewer.
  