Skip to content
This repository was archived by the owner on Nov 30, 2020. It is now read-only.

Commit 11895ad

Browse files
authored
Fix compile error when building for tvOS
1 parent 4a98068 commit 11895ad

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

PostProcessing/Runtime/Utils/TextureFormatUtilities.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ static TextureFormatUtilities()
3535
{ TextureFormat.BC5, RenderTextureFormat.RGHalf },
3636
{ TextureFormat.BC6H, RenderTextureFormat.ARGBHalf },
3737
{ TextureFormat.BC7, RenderTextureFormat.ARGB32 },
38-
#if !UNITY_IOS
38+
#if !UNITY_IOS && !UNITY_TVOS
3939
{ TextureFormat.DXT1Crunched, RenderTextureFormat.ARGB32 },
4040
{ TextureFormat.DXT5Crunched, RenderTextureFormat.ARGB32 },
4141
#endif

0 commit comments

Comments
 (0)