21 Jul
2009
21 Jul
'09
9:11 a.m.
2009/7/20 Henri Verbeet <hverbeet(a)gmail.com>:
2009/7/20 Stefan Dösinger <stefan(a)codeweavers.com>:
Am Monday 20 July 2009 12:58:16 schrieb Henri Verbeet:
The MarkStateDirty() call looks redundant to me. Also, does this do the right thing when we're recording a stateblock? It's not redundant because the scissor rect needs updating on a RT switch anyway - I think it wasn't visible in this diff, but there is a SetViewport call above the SetScissorRect which explains the situation.
Ok, but that's for a different reason then. Also, the wording of that comment could use some work.
Actually, that is already handled by FindContext(), although perhaps "render_offscreen" should be tracked by the context rather than the device.