VirtualBox

Changeset 37706 in vbox for trunk


Ignore:
Timestamp:
Jun 30, 2011 11:47:25 AM (13 years ago)
Author:
vboxsync
Message:

OpenGL-OSX: update the window after the visible regions went to zero (which paints a fully transparent window)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/HostServices/SharedOpenGL/render/renderspu_cocoa_helper.m

    r37383 r37706  
    15511551    if (cRects > 0)
    15521552    {
     1553#ifdef DEBUG_poetzsch
     1554        int i =0;
     1555        for (i = 0; i < cRects; ++i)
     1556            DEBUG_MSG_1(("OVIW(%p): setVisibleRegions: %d - %d %d %d %d\n", (void*)self, i, paRects[i * 4], paRects[i * 4 + 1], paRects[i * 4 + 2], paRects[i * 4 + 3]));
     1557#endif
     1558
    15531559        m_paClipRects = (GLint*)RTMemAlloc(sizeof(GLint) * 4 * cRects);
    15541560        m_cClipRects = cRects;
    15551561        memcpy(m_paClipRects, paRects, sizeof(GLint) * 4 * cRects);
    15561562    }
     1563    else
     1564        [self tryDraw];
    15571565}
    15581566
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