Commit 1bff3599 authored by Henri Verbeet's avatar Henri Verbeet Committed by Alexandre Julliard

wined3d: Don't invalidate STATE_VDECL in context_set_render_offscreen().

This used to be invalidated to update the vertex shader position fixup uniform, but this is handled by STATE_VIEWPORT now. Any performance impact from this will be minimal, since in practice there are enough other things invalidating STATE_VDECL that it's close to being invalidated for every draw anyway.
parent adb1e109
......@@ -1970,7 +1970,6 @@ static inline void context_set_render_offscreen(struct wined3d_context *context,
Context_MarkStateDirty(context, STATE_POINTSPRITECOORDORIGIN, StateTable);
Context_MarkStateDirty(context, STATE_TRANSFORM(WINED3DTS_PROJECTION), StateTable);
Context_MarkStateDirty(context, STATE_VDECL, StateTable);
Context_MarkStateDirty(context, STATE_VIEWPORT, StateTable);
Context_MarkStateDirty(context, STATE_SCISSORRECT, StateTable);
Context_MarkStateDirty(context, STATE_FRONTFACE, StateTable);
......
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