VirtualBox

Ignore:
Timestamp:
Jul 28, 2011 1:33:18 PM (13 years ago)
Author:
vboxsync
Message:

wddm/wine: yet another PBO fix

File:
1 edited

Legend:

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

    r38217 r38218  
    41274127    /* Don't use PBOs for converted surfaces. During PBO conversion we look at SFLAG_CONVERTED
    41284128     * but it isn't set (yet) in all cases it is getting called. */
    4129     if((convert != NO_CONVERSION) && (This->Flags & SFLAG_PBO)) {
    4130         TRACE("Removing the pbo attached to surface %p\n", This);
    4131         surface_remove_pbo(This, gl_info);
     4129    if((convert != NO_CONVERSION) && (Src->Flags & SFLAG_PBO)) {
     4130        TRACE("Removing the pbo attached to surface %p\n", Src);
     4131        surface_remove_pbo(Src, gl_info);
    41324132    }
    41334133
     
    41914191
    41924192    /* Don't delete PBO memory */
    4193     if((mem != Src->resource.allocatedMemory) && !(This->Flags & SFLAG_PBO))
     4193    if((mem != Src->resource.allocatedMemory) && !(Src->Flags & SFLAG_PBO))
    41944194        HeapFree(GetProcessHeap(), 0, mem);
    41954195    ////
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