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

Commit

Permalink
Fixed N3DS deprecation warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
Chman committed Jul 24, 2018
1 parent ff4fec9 commit 404f282
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions PostProcessing/Editor/Utils/EditorUtilities.cs
Expand Up @@ -36,7 +36,9 @@ public static bool isTargetingMobiles
#if !UNITY_2018_2_OR_NEWER
|| t == BuildTarget.Tizen
#endif
#if !UNITY_2018_3_OR_NEWER
|| t == BuildTarget.N3DS
#endif
|| t == BuildTarget.PSP2;
}
}
Expand Down
2 changes: 2 additions & 0 deletions PostProcessing/Runtime/Utils/TextureFormatUtilities.cs
Expand Up @@ -65,8 +65,10 @@ static TextureFormatUtilities()
{ (int)TextureFormat.ASTC_RGBA_8x8, RenderTextureFormat.ARGB32 },
{ (int)TextureFormat.ASTC_RGBA_10x10, RenderTextureFormat.ARGB32 },
{ (int)TextureFormat.ASTC_RGBA_12x12, RenderTextureFormat.ARGB32 },
#if !UNITY_2018_3_OR_NEWER
{ (int)TextureFormat.ETC_RGB4_3DS, RenderTextureFormat.ARGB32 },
{ (int)TextureFormat.ETC_RGBA8_3DS, RenderTextureFormat.ARGB32 }
#endif
};

// TODO: refactor the next two scopes in a generic function once we have support for enum constraints on generics
Expand Down

0 comments on commit 404f282

Please sign in to comment.