[1/10] WineD3D: Remove an outdated TODO mark
Stefan Dösinger
stefan at codeweavers.com
Fri Feb 16 12:05:31 CST 2007
BltFast takes care of activating the correct context nowadays
-------------- next part --------------
From 73a6f3489719df2496276a52f630573d46434450 Mon Sep 17 00:00:00 2001
From: Stefan Doesinger <stefan at codeweavers.com>
Date: Sun, 11 Feb 2007 17:12:31 +0100
Subject: [PATCH] WineD3D: Remove an outdated FIXME
BltFast does take care of activating the correct swapchain context
---
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;
}
--
1.4.4.3
More information about the wine-patches
mailing list