Changeset 31808 in vbox for trunk/src/VBox/HostServices/SharedOpenGL/unpacker
- Timestamp:
- Aug 20, 2010 9:40:40 AM (15 years ago)
- svn:sync-xref-src-repo-rev:
- 65002
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/HostServices/SharedOpenGL/unpacker/unpack_arrays.c
r22284 r31808 230 230 offset += sizeof(int); 231 231 cp = crStateGetClientPointerByIndex(index, &c->array); 232 CRASSERT(cp && cp->enabled && (!cp->buffer || !cp->buffer-> name));232 CRASSERT(cp && cp->enabled && (!cp->buffer || !cp->buffer->id)); 233 233 data = crAlloc((first+count)*cp->bytesPerIndex); 234 234 crMemcpy(data+first*cp->bytesPerIndex, DATA_POINTER(offset, GLvoid), count*cp->bytesPerIndex);
Note:
See TracChangeset
for help on using the changeset viewer.