Henri Verbeet : wined3d: Handle GL texture allocation in the texture code.