Skip to content

Commit 879502d

Browse files
committed
better filter selection
1 parent fcf25f1 commit 879502d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/tilecache.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -976,7 +976,7 @@ tilecache_snapshot(Tilecache *tilecache, GtkSnapshot *snapshot,
976976
* blur the image. For zooming out, we want trilinear to get
977977
* mipmaps and antialiasing.
978978
*/
979-
GskScalingFilter filter = scale > pixel_size ?
979+
GskScalingFilter filter = scale >= pixel_size ?
980980
GSK_SCALING_FILTER_NEAREST : GSK_SCALING_FILTER_TRILINEAR;
981981

982982
graphene_rect_t bounds;

0 commit comments

Comments
 (0)