[PATCH 1/5] wined3d: Depth-only clears are done offscreen.
Henri Verbeet
hverbeet at codeweavers.com
Mon Apr 11 13:55:13 CDT 2011
This fixes a regression introduced by commit
99bfd817141ca32f9c50e539aa4d0dcbfded24b7.
---
dlls/wined3d/device.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/dlls/wined3d/device.c b/dlls/wined3d/device.c
index e05c732..7b4ad8a 100644
--- a/dlls/wined3d/device.c
+++ b/dlls/wined3d/device.c
@@ -701,7 +701,7 @@ HRESULT device_clear_render_targets(IWineD3DDeviceImpl *device, UINT rt_count, I
}
else
{
- render_offscreen = FALSE;
+ render_offscreen = TRUE;
drawable_width = depth_stencil->pow2Width;
drawable_height = depth_stencil->pow2Height;
}
--
1.7.3.4
More information about the wine-patches
mailing list