should make scaling look better.

This commit is contained in:
Bryce Covert
2015-11-08 09:06:36 -08:00
parent bd31637779
commit dde94508b8

View File

@@ -51,7 +51,7 @@
target-height (* 16 scale)
resized (Pixmap. target-width target-height (.getFormat base-cursor))
index (.indexOf +all-cursors+ which)]
#_(Pixmap/setFilter Pixmap$Filter/NearestNeighbour)
(Pixmap/setFilter Pixmap$Filter/NearestNeighbour)
(pixmap! resized :draw-pixmap base-cursor (* index 16) 0 16 16
0 0 target-width target-height)