Henri Verbeet : wined3d: Properly check if an attribute is used in buffer_check_attribute().