Changeset 27091 in vbox for trunk/src/VBox/GuestHost/OpenGL/state_tracker/state_snapshot.c
- Timestamp:
- Mar 5, 2010 2:13:31 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/GuestHost/OpenGL/state_tracker/state_snapshot.c
r27034 r27091 1186 1186 rc = SSMR3PutU32(pSSM, pContext->bufferobject.elementsBuffer->name); 1187 1187 AssertRCReturn(rc, rc); 1188 #ifdef CR_ARB_pixel_buffer_object 1189 rc = SSMR3PutU32(pSSM, pContext->bufferobject.packBuffer->name); 1190 AssertRCReturn(rc, rc); 1191 rc = SSMR3PutU32(pSSM, pContext->bufferobject.unpackBuffer->name); 1192 AssertRCReturn(rc, rc); 1193 #endif 1188 1194 /* Save clint pointers and buffer bindings*/ 1189 1195 for (i=0; i<CRSTATECLIENT_MAX_VERTEXARRAYS; ++i) … … 1671 1677 AssertRCReturn(rc, rc); 1672 1678 pContext->bufferobject.elementsBuffer = CRS_GET_BO(ui); 1679 #ifdef CR_ARB_pixel_buffer_object 1680 rc = SSMR3GetU32(pSSM, &ui); 1681 AssertRCReturn(rc, rc); 1682 pContext->bufferobject.packBuffer = CRS_GET_BO(ui); 1683 rc = SSMR3GetU32(pSSM, &ui); 1684 AssertRCReturn(rc, rc); 1685 pContext->bufferobject.unpackBuffer = CRS_GET_BO(ui); 1686 #endif 1673 1687 #undef CRS_GET_BO 1674 1688 … … 1952 1966 FILLDIRTY(pBits->bufferobject.arrayBinding); 1953 1967 FILLDIRTY(pBits->bufferobject.elementsBinding); 1968 # ifdef CR_ARB_pixel_buffer_object 1969 FILLDIRTY(pBits->bufferobject.packBinding); 1970 FILLDIRTY(pBits->bufferobject.unpackBinding); 1971 # endif 1954 1972 #endif 1955 1973
Note:
See TracChangeset
for help on using the changeset viewer.