VirtualBox

Changeset 43705 in vbox for trunk/src/VBox/Additions/WINNT


Ignore:
Timestamp:
Oct 22, 2012 4:35:12 PM (12 years ago)
Author:
vboxsync
Message:

wine: converted resources fixes

Location:
trunk/src/VBox/Additions/WINNT/Graphics/Wine/wined3d
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Additions/WINNT/Graphics/Wine/wined3d/device.c

    r43488 r43705  
    55325532     * loading. */
    55335533    d3dfmt_get_conv(dst_impl, FALSE, TRUE, &dummy_desc, &convert);
    5534     if (convert != NO_CONVERSION)
     5534    if (convert != NO_CONVERSION || dummy_desc.convert)
    55355535        return IWineD3DSurface_BltFast(dst_surface, dst_x, dst_y, src_surface, src_rect, 0);
    55365536
  • trunk/src/VBox/Additions/WINNT/Graphics/Wine/wined3d/surface.c

    r43319 r43705  
    28652865#endif
    28662866
    2867     if (!(This->Flags & SFLAG_DONOTFREE)) {
     2867    if (!(This->Flags & SFLAG_DONOTFREE) && !This->resource.format_desc->convert) {
    28682868        HeapFree(GetProcessHeap(), 0, This->resource.heapMemory);
    28692869        This->resource.allocatedMemory = NULL;
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