Changeset 34141 in vbox for trunk/src/VBox/Frontends/VirtualBox
- Timestamp:
- Nov 17, 2010 5:06:11 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox/src/VBoxFBOverlay.cpp
r34140 r34141 60 60 61 61 #define VBOXQGL_STATE_NAMEBASE "QGLVHWAData" 62 #define VBOXQGL_STATE_VERSION 2 62 #define VBOXQGL_STATE_VERSION 3 63 #define VBOXQGL_STATE_VERSION_PIPESAVED 3 63 64 64 65 #ifdef DEBUG … … 4776 4777 if (RT_SUCCESS(rc)) 4777 4778 { 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 } 4780 4784 } 4781 4785 return rc; … … 5199 5203 bool b; 5200 5204 int rc; 5201 rc = SSMR3GetU32(pSSM, &u32); 5205 rc = SSMR3GetU32(pSSM, &u32); AssertRC(rc); 5202 5206 if (RT_SUCCESS(rc)) 5203 5207 { … … 5265 5269 } 5266 5270 } 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 }5275 5271 5276 5272 return rc;
Note:
See TracChangeset
for help on using the changeset viewer.