Henri Verbeet : wined3d: Fix texture creation error handling.