VirtualBox

Changeset 21382 in vbox


Ignore:
Timestamp:
Jul 8, 2009 9:24:36 AM (15 years ago)
Author:
vboxsync
Message:

crOpenGL: don't free buffer data on the guest side when unmapping

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Additions/common/crOpenGL/pack/packspu_bufferobject.c

    r21313 r21382  
    8585    /* send new buffer contents to server */
    8686    crPackBufferDataARB( target, bufObj->size, bufObj->pointer, bufObj->usage );
    87 
    88     /* free the buffer / unmap it */
    89     crFree(bufObj->pointer);
    9087#endif
    9188
     89    CRASSERT(GL_TRUE == ctx->clientState->bufferobject.retainBufferData);
    9290    crStateUnmapBufferARB( target );
    9391
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