VirtualBox

Changeset 46055 in vbox for trunk/src/VBox/Main


Ignore:
Timestamp:
May 14, 2013 10:51:49 AM (12 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
85727
Message:

Main/Display: store mode data in case of a null framebuffer

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Main/src-client/DisplayImpl.cpp

    r46007 r46055  
    657657
    658658    /* If there is no framebuffer, this call is not interesting. */
    659     if (   uScreenId >= mcMonitors
    660         || maFramebuffers[uScreenId].pFramebuffer.isNull())
     659    if (uScreenId >= mcMonitors)
    661660    {
    662661        return VINF_SUCCESS;
     
    669668    mLastHeight = h;
    670669    mLastFlags = flags;
     670
     671    if (maFramebuffers[uScreenId].pFramebuffer.isNull())
     672    {
     673        return VINF_SUCCESS;
     674    }
    671675
    672676    ULONG pixelFormat;
Note: See TracChangeset for help on using the changeset viewer.

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette