Changeset 9388 for trunk/src


Ignore:
Timestamp:
Nov 5, 2002, 3:33:32 PM (23 years ago)
Author:
sandervl
Message:

PF: FillRgn fix for DIB sections:

File:
1 edited

Legend:

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

    r8871 r9388  
    1 /* $Id: region.cpp,v 1.28 2002-07-15 10:02:29 sandervl Exp $ */
     1/* $Id: region.cpp,v 1.29 2002-11-05 14:33:32 sandervl Exp $ */
    22
    33/*
     
    3434#include "oslibgpi.h"
    3535#include <stats.h>
     36#include "dibsect.h"
    3637
    3738#define DBG_LOCALLOG    DBG_region
     
    14501451#endif
    14511452
     1453
    14521454    pDCData  pHps = (pDCData)OSLibGpiQueryDCData((HPS)hdc);
    14531455
     
    14801482    if(hbrushRestore)
    14811483        SelectObject(hdc, hbrushRestore);
     1484
     1485    /* PF Sync DIBSection as well */
     1486    if(DIBSection::getSection() != NULL)
     1487    {
     1488        DIBSection *dsect = DIBSection::findHDC(hdc);
     1489        if(dsect)
     1490        {
     1491            dsect->sync(hdc, 0, dsect->GetHeight());
     1492        }
     1493    }
     1494
    14821495
    14831496    return(success);
Note: See TracChangeset for help on using the changeset viewer.