Commit 4ff5339a authored by Viktor Lidholt's avatar Viktor Lidholt

Disables anti alias for sprite drawing

parent 267404d4
......@@ -29,7 +29,9 @@ class Sprite extends NodeWithSize {
/// mySprite.transferMode = TransferMode.plusMode;
TransferMode transferMode;
Paint _cachedPaint = new Paint();
Paint _cachedPaint = new Paint()
..setFilterQuality(FilterQuality.low)
..isAntiAlias = false;
/// Creates a new sprite from the provided [texture].
///
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment