Another minor optimization
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
@@ -58,7 +58,7 @@ public class Pixelator implements Disposable{
|
||||
}
|
||||
|
||||
public boolean enabled(){
|
||||
return Core.settings.getBool("pixelate");
|
||||
return renderer.pixelate;
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
Reference in New Issue
Block a user