Commit 68c4a1b6 authored by Henri Verbeet's avatar Henri Verbeet Committed by Alexandre Julliard

wined3d: Depth-only clears are done offscreen.

This fixes a regression introduced by commit 99bfd817.
parent 974e8753
...@@ -701,7 +701,7 @@ HRESULT device_clear_render_targets(IWineD3DDeviceImpl *device, UINT rt_count, I ...@@ -701,7 +701,7 @@ HRESULT device_clear_render_targets(IWineD3DDeviceImpl *device, UINT rt_count, I
} }
else else
{ {
render_offscreen = FALSE; render_offscreen = TRUE;
drawable_width = depth_stencil->pow2Width; drawable_width = depth_stencil->pow2Width;
drawable_height = depth_stencil->pow2Height; drawable_height = depth_stencil->pow2Height;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment