VirtualBox

Changeset 50248 in vbox for trunk


Ignore:
Timestamp:
Jan 27, 2014 4:28:30 PM (11 years ago)
Author:
vboxsync
Message:

FE/Qt: Frame-buffer cleanup fix.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Frontends/VirtualBox/src/runtime/UIMachineView.cpp

    r50224 r50248  
    422422                LogRelFlow(("UIMachineView::prepareFrameBuffer: Start EMT callbacks accepting for screen: %d.\n", screenId()));
    423423                pFrameBuffer->setMarkAsUnused(false);
     424                uisession()->setFrameBuffer(screenId(), pFrameBuffer);
    424425            }
    425426            else
     
    457458                LogRelFlow(("UIMachineView::prepareFrameBuffer: Start EMT callbacks accepting for screen: %d.\n", screenId()));
    458459                pFrameBuffer->setMarkAsUnused(false);
     460                uisession()->setFrameBuffer(screenId(), pFrameBuffer);
    459461            }
    460462            else
     
    633635    /* Detach framebuffer from view: */
    634636    m_pFrameBuffer->setView(NULL);
    635 
    636     /* Attach frambuffer back to IDisplay: */
    637     display.SetFramebuffer(m_uScreenId, CFramebuffer(m_pFrameBuffer));
    638637}
    639638
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