wined3d: Remove an outdated TODO comment.

BltFast takes care of activating the correct context nowadays.
oldstable
Stefan Dösinger 2007-02-16 19:05:31 +01:00 committed by Alexandre Julliard
parent c5ae1fc7d8
commit 5916fdd560
1 changed files with 3 additions and 5 deletions

View File

@ -364,16 +364,14 @@ static HRESULT WINAPI IWineD3DSwapChainImpl_GetFrontBufferData(IWineD3DSwapChain
POINT start;
TRACE("(%p) : iface(%p) pDestSurface(%p)\n", This, iface, pDestSurface);
start.x = 0;
start.y = 0;
if (This->presentParms.Windowed) {
MapWindowPoints(This->win_handle, NULL, &start, 1);
}
#if 0 /* TODO: make sure that this swapchains context is active */
IWineD3DDevice_ActivateSwapChainContext(This->wineD3DDevice, iface);
#endif
IWineD3DSurface_BltFast(pDestSurface, start.x, start.y, This->frontBuffer, NULL, 0);
return WINED3D_OK;
}