From b6b1699c1ff8661d49ff2b99256b59754bc7784a Mon Sep 17 00:00:00 2001 From: David Thompson Date: Wed, 16 Dec 2020 20:17:44 -0500 Subject: graphics: texture: Default to nearest neighbor scaling in make-texture. --- chickadee/graphics/texture.scm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/chickadee/graphics/texture.scm b/chickadee/graphics/texture.scm index 388149d..24d6140 100644 --- a/chickadee/graphics/texture.scm +++ b/chickadee/graphics/texture.scm @@ -124,8 +124,8 @@ (define* (make-texture pixels width height #:key flip? - (min-filter 'linear) - (mag-filter 'linear) + (min-filter 'nearest) + (mag-filter 'nearest) (wrap-s 'repeat) (wrap-t 'repeat) (format 'rgba)) -- cgit v1.2.3