VirtualBox

Ignore:
Timestamp:
Apr 12, 2019 10:03:24 AM (6 years ago)
Author:
vboxsync
Message:

GuestHost/OpenGL,HostServices/SharedOpenGL: Updates bugref:9407

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/GuestHost/OpenGL/state_tracker/state_snapshot.c

    r76553 r78116  
    12591259    {
    12601260        CRASSERT(cp->p);
    1261         rc = SSMR3PutMem(pSSM, cp->p, cp->stride*(pArrays->lockFirst+pArrays->lockCount));
    1262         AssertRCReturn(rc, rc);
     1261        if (cp->fRealPtr)
     1262        {
     1263            rc = SSMR3PutMem(pSSM, cp->p, cp->stride*(pArrays->lockFirst+pArrays->lockCount));
     1264            AssertRCReturn(rc, rc);
     1265        }
     1266        else
     1267        {
     1268            crError("crStateSaveClientPointer: cp=%#p doesn't point to host memory!\n", cp);
     1269            return VERR_INVALID_STATE;
     1270        }
    12631271    }
    12641272#endif
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