VirtualBox

Changeset 39981 in vbox for trunk/src/VBox/Additions/common


Ignore:
Timestamp:
Feb 3, 2012 12:13:33 PM (13 years ago)
Author:
vboxsync
Message:

wddm/3d: visible regions fixes for WPF apps

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Additions/common/crOpenGL/load.c

    r39631 r39981  
    855855    }
    856856
    857     if (pRegions->pRegions->fFlags.bSetVisibleRects || pRegions->pRegions->fFlags.bSetViewRect)
     857    if (pRegions->pRegions->fFlags.bAddVisibleRects || pRegions->pRegions->fFlags.bSetViewRect)
    858858    {
    859859        /* ensure data integrity */
     
    897897        }
    898898
    899         if (pRegions->pRegions->fFlags.bSetVisibleRects)
     899        if (pRegions->pRegions->fFlags.bAddVisibleRects)
    900900        {
    901901            hNewRgn = stubMakeRegionFromRects(pRegions->pRegions, pRegions->pRegions->fFlags.bSetViewRect ? 1 : 0);
     
    915915    if (hNewRgn!=INVALID_HANDLE_VALUE)
    916916    {
    917         if (pRegions->pRegions->fFlags.bSetVisibleRects)
     917        if (pRegions->pRegions->fFlags.bAddVisibleRects)
    918918        {
    919919            HRGN hEmptyRgn = CreateRectRgn(0, 0, 0, 0);
     
    955955        else
    956956        {
    957             if (pRegions->pRegions->fFlags.bSetVisibleRects)
     957            if (pRegions->pRegions->fFlags.bAddVisibleRects)
    958958            {
    959959                pWindow->hVisibleRegion = hNewRgn;
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette