Henri Verbeet : wined3d: Allocate the sub_resources array as part of the texture.