Changeset 70871 in vbox for trunk/src/VBox/HostServices/SharedOpenGL/render
- Timestamp:
- Feb 5, 2018 5:07:12 PM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/HostServices/SharedOpenGL/render/renderspu_wgl.c
r70851 r70871 1590 1590 GLint i; 1591 1591 HRGN hRgn, hTmpRgn; 1592 RECT rectRgnBound; 1592 1593 1593 1594 CRASSERT(window); … … 1602 1603 hRgn = CreateRectRgn(0, 0, 0, 0); 1603 1604 1604 for (i=0; i<cRects; i++) 1605 { 1606 hTmpRgn = CreateRectRgn(pRects[4*i], pRects[4*i+1], pRects[4*i+2], pRects[4*i+3]); 1605 for (i = 0; i < cRects; i++) 1606 { 1607 crDebug("Render SPU: CreateRectRgn #%d: (%d, %d)-(%d, %d)", i, 1608 pRects[4 * i], pRects[4 * i + 1], pRects[4 * i + 2], pRects[4 * i + 3]); 1609 1610 hTmpRgn = CreateRectRgn(pRects[4 * i], pRects[4 * i + 1], pRects[4 * i + 2], pRects[4 * i + 3]); 1607 1611 CombineRgn(hRgn, hRgn, hTmpRgn, RGN_OR); 1608 1612 DeleteObject(hTmpRgn); 1613 } 1614 1615 if (GetRgnBox(hRgn, &rectRgnBound)) 1616 { 1617 crDebug("Render SPU: Rgn bounding box (%d, %d)-(%d, %d)", 1618 rectRgnBound.left, rectRgnBound.top, rectRgnBound.right, rectRgnBound.bottom); 1609 1619 } 1610 1620
Note:
See TracChangeset
for help on using the changeset viewer.