Henri Verbeet : wined3d: Make the context parameter to isStateDirty() const .