Skip to content

Commit

Permalink
Merge pull request #1 from lyuma/fix2018
Browse files Browse the repository at this point in the history
Compile fix for unity 2018
  • Loading branch information
MerlinVR authored May 27, 2020
2 parents 9826d36 + a7daee6 commit 3ca9e8f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Merlin/Scripts/MSDFAtlasGenerator.cs
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,7 @@ private void GenerateAtlas()
if (UseTextureCompression)
{
EditorUtility.DisplayProgressBar("Generating MSDF Atlas...", "Compressing Atlas...", 1f);
EditorUtility.CompressTexture(newAtlas, TextureFormat.BC7, TextureCompressionQuality.Best);
EditorUtility.CompressTexture(newAtlas, TextureFormat.BC7, UnityEditor.TextureCompressionQuality.Best);
}

EditorUtility.ClearProgressBar();
Expand Down

0 comments on commit 3ca9e8f

Please sign in to comment.