[3/3] WineD3D: Update the scissor rect on a render target change

Henri Verbeet hverbeet at gmail.com
Mon Jul 20 05:58:16 CDT 2009


2009/7/20 Stefan Dösinger <stefan at codeweavers.com>:
> +        scissor.top = 0;
> +        scissor.left = 0;
> +        scissor.right = viewport.Width;
> +        scissor.bottom = viewport.Height;
> +        IWineD3DDevice_SetScissorRect(iface, &scissor);
> +        IWineD3DDeviceImpl_MarkStateDirty(This, STATE_SCISSORRECT);
The MarkStateDirty() call looks redundant to me. Also, does this do
the right thing when we're recording a stateblock?



More information about the wine-patches mailing list