We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c9606e8 commit 340942aCopy full SHA for 340942a
1 file changed
com.unity.postprocessing/PostProcessing/Runtime/Utils/TextureFormatUtilities.cs
@@ -45,10 +45,12 @@ static TextureFormatUtilities()
45
{ (int)TextureFormat.DXT1Crunched, RenderTextureFormat.ARGB32 },
46
{ (int)TextureFormat.DXT5Crunched, RenderTextureFormat.ARGB32 },
47
#endif
48
+ #if !UNITY_6000_1_OR_NEWER
49
{ (int)TextureFormat.PVRTC_RGB2, RenderTextureFormat.ARGB32 },
50
{ (int)TextureFormat.PVRTC_RGBA2, RenderTextureFormat.ARGB32 },
51
{ (int)TextureFormat.PVRTC_RGB4, RenderTextureFormat.ARGB32 },
52
{ (int)TextureFormat.PVRTC_RGBA4, RenderTextureFormat.ARGB32 },
53
+ #endif
54
#if !UNITY_2018_1_OR_NEWER
55
{ (int)TextureFormat.ATC_RGB4, RenderTextureFormat.ARGB32 },
56
{ (int)TextureFormat.ATC_RGBA8, RenderTextureFormat.ARGB32 },
0 commit comments