Ignore:
Timestamp:
Apr 2, 2000, 12:12:53 PM (25 years ago)
Author:
sandervl
Message:

dib section sync bugfix

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/gdi32/blit.cpp

    r2808 r3298  
    1 /* $Id: blit.cpp,v 1.6 2000-02-16 19:48:52 sandervl Exp $ */
     1/* $Id: blit.cpp,v 1.7 2000-04-02 10:12:53 sandervl Exp $ */
    22
    33/*
     
    6969                                dprintf(("Sync dest DIB section"));
    7070                                bmpinfo.bmiHeader.biSize = sizeof(BITMAPINFOHEADER);
    71                                 GetDIBits(hdcDest, dest->GetBitmapHandle(), 0, 300, 0, &bmpinfo, dest->GetRGBUsage());
     71                                GetDIBits(hdcDest, dest->GetBitmapHandle(), 0, 0, 0, &bmpinfo, dest->GetRGBUsage());
    7272                                dprintf(("height        %d", bmpinfo.bmiHeader.biHeight));
    7373                                dprintf(("width         %d", bmpinfo.bmiHeader.biWidth));
    7474                                dprintf(("biBitCount    %d", bmpinfo.bmiHeader.biBitCount));
    75                                 GetDIBits(hdcDest, dest->GetBitmapHandle(), 0, 300, dest->GetDIBObject(), &bmpinfo, dest->GetRGBUsage());
     75                                GetDIBits(hdcDest, dest->GetBitmapHandle(), 0, bmpinfo.bmiHeader.biHeight, dest->GetDIBObject(), &bmpinfo, dest->GetRGBUsage());
    7676                        }
    7777                }
Note: See TracChangeset for help on using the changeset viewer.