Stefan Dösinger : wined3d: Store texture sub-resources as structures containing resource pointers.