Changeset 41313 in vbox for trunk/src/VBox/GuestHost/OpenGL/state_tracker/state_texture.c
- Timestamp:
- May 15, 2012 1:46:10 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/GuestHost/OpenGL/state_tracker/state_texture.c
r41109 r41313 766 766 crStateCleanupTextureRefs(g, tObj); 767 767 768 crHashtableDelete(g->shared->textureTable, name, crStateDeleteTextureObject); 768 /* on the host side, ogl texture object is deleted by a separate cr_server.head_spu->dispatch_table.DeleteTextures(n, newTextures); 769 * in crServerDispatchDeleteTextures, we just delete a state object here, which crStateDeleteTextureObject does */ 770 crHashtableDelete(g->shared->textureTable, name, (CRHashtableCallback)crStateDeleteTextureObject); 769 771 } 770 772 } … … 874 876 875 877 if (!CR_STATE_SHAREDOBJ_USAGE_IS_USED(tobj)) 878 { 879 /* on the host side, we need to delete an ogl texture object here as well, which crStateDeleteTextureCallback will do 880 * in addition to calling crStateDeleteTextureObject to delete a state object */ 876 881 crHashtableDelete(g->shared->textureTable, texture, crStateDeleteTextureCallback); 882 } 877 883 878 884 DIRTY(tb->dirty, g->neg_bitid);
Note:
See TracChangeset
for help on using the changeset viewer.