Changeset 46579 in vbox for trunk/src/VBox/Additions/WINNT/Graphics/Wine_new/wined3d
- Timestamp:
- Jun 17, 2013 10:11:35 AM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Additions/WINNT/Graphics/Wine_new/wined3d/texture.c
r46521 r46579 139 139 TRACE("texture %p.\n", texture); 140 140 141 #ifdef VBOX_WITH_WINE_FIX_TEXCLEAR 142 /* make texture unload first, because otherwise we may fail on context_acquire done for texture cleanup 143 * because the swapchain's surfaces might be destroyed and we may fail to select any render target in context_acquire */ 144 wined3d_texture_unload(texture); 145 #endif 146 141 147 for (i = 0; i < sub_count; ++i) 142 148 { … … 147 153 } 148 154 155 #ifndef VBOX_WITH_WINE_FIX_TEXCLEAR 149 156 wined3d_texture_unload(texture); 157 #endif 150 158 HeapFree(GetProcessHeap(), 0, texture->sub_resources); 151 159 resource_cleanup(&texture->resource);
Note:
See TracChangeset
for help on using the changeset viewer.