wined3d: Remove a redundant ActivateContext() call in IWineD3DSurfaceImpl_UnlockRect().

The various LoadLocation() handlers already take care of activating an
appropriate context.
This commit is contained in:
Henri Verbeet 2009-06-18 09:04:06 +02:00 committed by Alexandre Julliard
parent c7b684f345
commit 51902b89fb
1 changed files with 0 additions and 1 deletions

View File

@ -1548,7 +1548,6 @@ static HRESULT WINAPI IWineD3DSurfaceImpl_UnlockRect(IWineD3DSurface *iface) {
switch(wined3d_settings.rendertargetlock_mode) {
case RTL_READTEX:
case RTL_TEXTEX:
ActivateContext(myDevice, iface, CTXUSAGE_BLIT);
IWineD3DSurface_LoadLocation(iface, SFLAG_INTEXTURE, NULL /* partial texture loading not supported yet */);
/* drop through */