wined3d: Depth-only clears are done offscreen.

This fixes a regression introduced by commit
99bfd81714.
This commit is contained in:
Henri Verbeet 2011-04-11 20:55:13 +02:00 committed by Alexandre Julliard
parent 974e875309
commit 68c4a1b61a

View file

@ -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;
}