wined3d: Fix LockedRect regression.
This commit is contained in:
parent
c7683ee4a3
commit
1f34016401
|
@ -897,7 +897,7 @@ lock_end:
|
|||
* Dirtify on lock
|
||||
* as seen in msdn docs
|
||||
*/
|
||||
IWineD3DSurface_AddDirtyRect(iface, &This->lockedRect);
|
||||
IWineD3DSurface_AddDirtyRect(iface, pRect);
|
||||
|
||||
/** Dirtify Container if needed */
|
||||
if (WINED3D_OK == IWineD3DSurface_GetContainer(iface, &IID_IWineD3DBaseTexture, (void **)&pBaseTexture) && pBaseTexture != NULL) {
|
||||
|
|
Loading…
Reference in New Issue