VirtualBox

Changeset 29446 in vbox for trunk


Ignore:
Timestamp:
May 13, 2010 11:38:06 AM (15 years ago)
Author:
vboxsync
Message:

crOpenGL: correctly rebing view fbo after snapshot load

File:
1 edited

Legend:

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

    r29433 r29446  
    861861
    862862    glBindTexture(GL_TEXTURE_RECTANGLE_ARB, oldTexId);
    863     glBindFramebufferEXT(GL_FRAMEBUFFER_EXT, oldFBId ? oldFBId:0);
     863    glBindFramebufferEXT(GL_FRAMEBUFFER_EXT, oldFBId ? oldFBId:m_FBOId);
    864864
    865865    /* Is there a dock tile preview enabled in the GUI? If so setup a
     
    894894
    895895        glBindTexture(GL_TEXTURE_RECTANGLE_ARB, oldTexId);
    896         glBindFramebufferEXT(GL_FRAMEBUFFER_EXT, oldFBId ? oldFBId:0);
     896        glBindFramebufferEXT(GL_FRAMEBUFFER_EXT, oldFBId ? oldFBId:m_FBOId);
    897897
    898898        m_DockTileView = [[DockOverlayView alloc] init];
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