VirtualBox

Changeset 30539 in vbox


Ignore:
Timestamp:
Jun 30, 2010 9:23:00 PM (15 years ago)
Author:
vboxsync
Message:

wddm/3d: visible regions working!!

File:
1 edited

Legend:

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

    r30537 r30539  
    765765    if (hNewRgn!=INVALID_HANDLE_VALUE)
    766766    {
    767         POINT pt;
    768         pt.x = 0;
    769         pt.y = 0;
    770         ScreenToClient(pWindow->hWnd, &pt);
    771         OffsetRgn(hNewRgn, pt.x, pt.y);
     767        OffsetRgn(hNewRgn, -pWindow->x, -pWindow->y);
    772768
    773769        if (pWindow->hVisibleRegion!=INVALID_HANDLE_VALUE)
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