VirtualBox

Changeset 44048 in vbox for trunk/src/VBox/GuestHost/OpenGL


Ignore:
Timestamp:
Dec 6, 2012 10:21:28 AM (12 years ago)
Author:
vboxsync
Message:

crOpenGL: fix saved state crash

File:
1 edited

Legend:

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

    r43027 r44048  
    11491149    cp = crStateGetClientPointerByIndex(index, pArrays);
    11501150
    1151     rc = SSMR3PutU32(pSSM, cp->buffer->id);
     1151    if (cp->buffer)
     1152        rc = SSMR3PutU32(pSSM, cp->buffer->id);
     1153    else
     1154        rc = SSMR3PutU32(pSSM, 0);
     1155
    11521156    AssertRCReturn(rc, rc);
    11531157
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