[PATCH 6/7] Use surface_is_offscreen instead of directly looking at the swapchain.
Roderick Colenbrander
thunderbird2k at gmail.com
Tue Mar 30 15:19:03 CDT 2010
---
dlls/wined3d/surface.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/dlls/wined3d/surface.c b/dlls/wined3d/surface.c
index 94880a0..7247fe1 100644
--- a/dlls/wined3d/surface.c
+++ b/dlls/wined3d/surface.c
@@ -4062,7 +4062,7 @@ static HRESULT IWineD3DSurfaceImpl_BltOverride(IWineD3DSurfaceImpl *This, const
* Also beware that the front buffer's surface size is screen width x screen height,
* whereas the real gl drawable size is the size of the window.
*/
- if (dstSwapchain && (IWineD3DSurface *)This == dstSwapchain->frontBuffer) {
+ if (!surface_is_offscreen((IWineD3DSurface *)This)) {
RECT windowsize;
POINT offset = {0,0};
UINT h;
--
1.6.3.3
More information about the wine-patches
mailing list