VirtualBox

Changeset 51360 in vbox for trunk


Ignore:
Timestamp:
May 22, 2014 7:43:45 PM (11 years ago)
Author:
vboxsync
Message:

crOpenGL/OSX: compositor acquisition fix

File:
1 edited

Legend:

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

    r50412 r51360  
    12271227    if ([self lockFocusIfCanDraw])
    12281228    {
    1229         [self vboxPresent:pCompositor];
    1230         if (pCompositor != &TmpCompositor)
    1231             renderspuVBoxCompositorRelease(m_pWinInfo);
    1232            
     1229        [self vboxPresent:pCompositor];           
    12331230        [self unlockFocus];
    12341231    }
     
    12371234        [NSTimer scheduledTimerWithTimeInterval:0.1 target:self selector:@selector(vboxTryDrawUI) userInfo:nil repeats:NO];
    12381235    }
     1236   
     1237    if (pCompositor != &TmpCompositor)
     1238        renderspuVBoxCompositorRelease(m_pWinInfo);
    12391239}
    12401240
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