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