VirtualBox

Ignore:
Timestamp:
Nov 17, 2010 5:06:11 PM (14 years ago)
Author:
vboxsync
Message:

2d: solaris burn fix, additianal saved state fix

File:
1 edited

Legend:

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

    r34140 r34141  
    6060
    6161#define VBOXQGL_STATE_NAMEBASE "QGLVHWAData"
    62 #define VBOXQGL_STATE_VERSION 2
     62#define VBOXQGL_STATE_VERSION           3
     63#define VBOXQGL_STATE_VERSION_PIPESAVED 3
    6364
    6465#ifdef DEBUG
     
    47764777    if (RT_SUCCESS(rc))
    47774778    {
    4778         rc = mCmdPipe.loadExec(pSSM, u32Version, mOverlayImage.vramBase());
    4779         AssertRC(rc);
     4779        if (u32Version >= VBOXQGL_STATE_VERSION_PIPESAVED)
     4780        {
     4781            rc = mCmdPipe.loadExec(pSSM, u32Version, mOverlayImage.vramBase());
     4782            AssertRC(rc);
     4783        }
    47804784    }
    47814785    return rc;
     
    51995203    bool b;
    52005204    int rc;
    5201     rc = SSMR3GetU32(pSSM, &u32);
     5205    rc = SSMR3GetU32(pSSM, &u32); AssertRC(rc);
    52025206    if (RT_SUCCESS(rc))
    52035207    {
     
    52655269        }
    52665270    }
    5267     else if (rc == VERR_SSM_LOADED_TOO_MUCH)
    5268     {
    5269         /* this would mean we do not have a cmd pipe data saved.
    5270          * skip the failure.
    5271          * not sure if that's a good idea actually,
    5272          * but this allows keeping the state version unchanged */
    5273         rc = VINF_SUCCESS;
    5274     }
    52755271
    52765272    return rc;
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