H. Verbeet : wined3d: Check more thoroughly if a stage references a texture .