Stefan Dösinger : wined3d: Remove an outdated TODO comment.

Alexandre Julliard julliard at wine.codeweavers.com
Mon Feb 19 07:02:16 CST 2007


Module: wine
Branch: master
Commit: 5916fdd56033994078a0c7671aea5180f82f6e08
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=5916fdd56033994078a0c7671aea5180f82f6e08

Author: Stefan Dösinger <stefan at codeweavers.com>
Date:   Fri Feb 16 19:05:31 2007 +0100

wined3d: Remove an outdated TODO comment.

BltFast takes care of activating the correct context nowadays.

---

 dlls/wined3d/swapchain.c |    8 +++-----
 1 files changed, 3 insertions(+), 5 deletions(-)

diff --git a/dlls/wined3d/swapchain.c b/dlls/wined3d/swapchain.c
index f9a402c..48253e9 100644
--- a/dlls/wined3d/swapchain.c
+++ b/dlls/wined3d/swapchain.c
@@ -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;
 }




More information about the wine-cvs mailing list