Henri Verbeet : wined3d: Introduce "context_apply_state()" to setup a context for a specific usage.