2009/7/20 Stefan Dösinger stefan@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?