summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Thompson <dthompson2@worcester.edu>2020-12-16 20:17:44 -0500
committerDavid Thompson <dthompson2@worcester.edu>2020-12-16 20:17:44 -0500
commitb6b1699c1ff8661d49ff2b99256b59754bc7784a (patch)
treed4b52553f963b71c568d562d93bbcdf144eac215
parentd247b5fa5f7918665890952918c857fe20333b1c (diff)
graphics: texture: Default to nearest neighbor scaling in make-texture.
-rw-r--r--chickadee/graphics/texture.scm4
1 files 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))