wined3d: Fix LockedRect regression.

This commit is contained in:
Roderick Colenbrander 2007-11-03 14:28:06 +01:00 committed by Alexandre Julliard
parent c7683ee4a3
commit 1f34016401
1 changed files with 1 additions and 1 deletions

View File

@ -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) {