Disable blending when drawing displays

This commit is contained in:
Anuken
2021-03-31 11:18:17 -04:00
parent dee020bd71
commit e85e43c162

View File

@@ -98,11 +98,13 @@ public class LogicDisplay extends Block{
}); });
} }
Draw.blend(Blending.disabled);
Draw.draw(Draw.z(), () -> { Draw.draw(Draw.z(), () -> {
if(buffer != null){ if(buffer != null){
Draw.rect(Draw.wrap(buffer.getTexture()), x, y, buffer.getWidth() * Draw.scl, -buffer.getHeight() * Draw.scl); Draw.rect(Draw.wrap(buffer.getTexture()), x, y, buffer.getWidth() * Draw.scl, -buffer.getHeight() * Draw.scl);
} }
}); });
Draw.blend();
} }
} }