Changeset 46579 in vbox for trunk/src/VBox/Additions/WINNT
- Timestamp:
- Jun 17, 2013 10:11:35 AM (12 years ago)
- svn:sync-xref-src-repo-rev:
- 86454
- Location:
- trunk/src/VBox/Additions/WINNT/Graphics/Wine_new
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Additions/WINNT/Graphics/Wine_new/Makefile.kmk
r46529 r46579 171 171 VBOX_WITH_WINE_FIX_PBOPSM \ 172 172 VBOX_WITH_WINE_FIX_INITCLEAR \ 173 VBOX_WITH_WINE_FIX_TEXCLEAR \ 173 174 VBOX_WITH_WINE_DBG 174 175 #wined3d_DEFS += VBOX_WITH_WINE_FIXES -
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.