wined3d: Depth-only clears are done offscreen.
This fixes a regression introduced by commit
99bfd81714
.
This commit is contained in:
parent
974e875309
commit
68c4a1b61a
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue