Correct comment (#5568)

This is `UI.packer`, not `Fonts.packer`.
This commit is contained in:
Antsiferov Andrew
2021-07-12 16:23:36 +03:00
committed by GitHub
parent 1ea545ccb2
commit 7fea7e91aa

View File

@@ -203,7 +203,7 @@ public class Fonts{
/** Merges the UI and font atlas together for better performance. */
public static void mergeFontAtlas(TextureAtlas atlas){
//grab all textures from the ui page, remove all the regions assigned to it, then copy them over to Fonts.packer and replace the texture in this atlas.
//grab all textures from the ui page, remove all the regions assigned to it, then copy them over to UI.packer and replace the texture in this atlas.
//grab old UI texture and regions...
Texture texture = atlas.find("logo").texture;