summaryrefslogtreecommitdiff
path: root/chickadee/graphics/text.scm
diff options
context:
space:
mode:
Diffstat (limited to 'chickadee/graphics/text.scm')
-rw-r--r--chickadee/graphics/text.scm3
1 files changed, 2 insertions, 1 deletions
diff --git a/chickadee/graphics/text.scm b/chickadee/graphics/text.scm
index 41765d9..12269ac 100644
--- a/chickadee/graphics/text.scm
+++ b/chickadee/graphics/text.scm
@@ -197,7 +197,8 @@ non-smooth scaling will be used."
char-set))
(texture-filter (if smooth? 'linear 'nearest))
;; TODO: Use multiple textures if needed.
- (texture (make-texture (bytevector->pixbuf pixels texture-size texture-size)
+ (texture (make-texture texture-size texture-size
+ #:pixels pixels
#:min-filter texture-filter
#:mag-filter texture-filter)))
;; Process kernings.