From 68c4a1b61ae58db1e315347c04d115dc589bb1be Mon Sep 17 00:00:00 2001 From: Henri Verbeet Date: Mon, 11 Apr 2011 20:55:13 +0200 Subject: [PATCH] wined3d: Depth-only clears are done offscreen. This fixes a regression introduced by commit 99bfd817141ca32f9c50e539aa4d0dcbfded24b7. --- dlls/wined3d/device.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dlls/wined3d/device.c b/dlls/wined3d/device.c index e05c732560c..7b4ad8a6e54 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; }