Moar bug fixes and API tweaks

このコミットが含まれているのは:
Sergio Pedri committed 2021-02-06 16:06:45 +01:00
1 親 5f6efb0811
コミット 1eeb059622
4ファイル変更
+29 -20

検索条件に一致するファイルはありません

+2 -2
ファイルの表示
@@ -16,7 +16,7 @@ namespace ComputeSharp
public static void CopyTo<T>(this UploadTexture3D<T> texture, Texture3D<T> destination)
where T : unmanaged
{
destination.CopyFrom(texture, 0, 0, 0, texture.Width, texture.Height, texture.Depth);
destination.CopyFrom(texture, 0, 0, 0, 0, 0, 0, texture.Width, texture.Height, texture.Depth);
}
/// <summary>
@@ -34,7 +34,7 @@ namespace ComputeSharp
public static void CopyTo<T>(this UploadTexture3D<T> texture, Texture3D<T> destination, int x, int y, int z, int width, int height, int depth)
where T : unmanaged
{
destination.CopyFrom(texture, x, y, z, width, height, depth);
destination.CopyFrom(texture, x, y, z, 0, 0, 0, width, height, depth);
}
}
}