Another minor optimization

This commit is contained in:
Anuken
2024-01-06 12:55:59 -05:00
parent fae167a91d
commit 981796a5b2
6 changed files with 9 additions and 8 deletions

View File

@@ -223,7 +223,7 @@ public class Drawf{
/** Sets Draw.z to the text layer, and returns the previous layer. */
public static float text(){
float z = Draw.z();
if(renderer.pixelator.enabled()){
if(renderer.pixelate){
Draw.z(Layer.endPixeled);
}