[PATCH 4/6] wined3d: Pass a texture and sub-resource index to texture2d_destroy_dc().