WineD3D: Don't create a pbo for system memory surfaces

Roderick Colenbrander thunderbird2k at
Sat Sep 15 15:02:30 CDT 2007


The WineD3D function UpdateSurface method wasn't aware of PBOs yet which 
caused a regression (bug 9666). The source surface we were passing to it had 
a pbo attached to it. In case of a PBO allocatedMemory is only available when 
the memory is locked which isn't the case when UpdateSurface is called.

The behavior that matches D3D the most is to not create a pbo for system 
memory surfaces. So that is what this patch does. Note that this patch might 
depend on Stefan his two PBO patches. (Those patches are good)

Roderick Colenbrander
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0002-Don-t-create-a-PBO-for-system-memory-surfaces.-This.patch
Type: text/x-diff
Size: 1469 bytes
Desc: not available
Url : 

More information about the wine-patches mailing list