VirtualBox

Ignore:
Timestamp:
Aug 2, 2017 2:00:41 PM (7 years ago)
Author:
vboxsync
Message:

Additions/common/crOpenGL: remove unused code and dependency on VBoxMPIf.h

File:
1 edited

Legend:

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

    r65381 r68248  
    3131#include <d3d9types.h>
    3232#include <D3dumddi.h>
    33 #include "../../WINNT/Graphics/Video/common/wddm/VBoxMPIf.h"
    3433#endif
    3534
     
    784783    }
    785784    else crWarning("GetRegionData failed, VisibleRegions update failed");
    786 }
    787 
    788 static HRGN stubMakeRegionFromRects(PVBOXVIDEOCM_CMD_RECTS pRegions, uint32_t start)
    789 {
    790     HRGN hRgn, hTmpRgn;
    791     uint32_t i;
    792 
    793     if (pRegions->RectsInfo.cRects<=start)
    794     {
    795         return INVALID_HANDLE_VALUE;
    796     }
    797 
    798     hRgn = CreateRectRgn(0, 0, 0, 0);
    799     for (i=start; i<pRegions->RectsInfo.cRects; ++i)
    800     {
    801         hTmpRgn = CreateRectRgnIndirect(&pRegions->RectsInfo.aRects[i]);
    802         CombineRgn(hRgn, hRgn, hTmpRgn, RGN_OR);
    803         DeleteObject(hTmpRgn);
    804     }
    805     return hRgn;
    806785}
    807786
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