diff options
Diffstat (limited to 'chickadee/graphics/font.scm')
-rw-r--r-- | chickadee/graphics/font.scm | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/chickadee/graphics/font.scm b/chickadee/graphics/font.scm index d022e86..c282c66 100644 --- a/chickadee/graphics/font.scm +++ b/chickadee/graphics/font.scm @@ -1,5 +1,5 @@ ;;; Chickadee Game Toolkit -;;; Copyright © 2017, 2020 David Thompson <davet@gnu.org> +;;; Copyright © 2017, 2020, 2021 David Thompson <davet@gnu.org> ;;; ;;; Chickadee is free software: you can redistribute it and/or modify ;;; it under the terms of the GNU General Public License as published @@ -37,9 +37,8 @@ #:use-module (chickadee math matrix) #:use-module (chickadee math rect) #:use-module (chickadee math vector) - #:use-module (chickadee graphics) #:use-module (chickadee graphics color) - #:use-module (chickadee graphics gpu) + #:use-module (chickadee graphics engine) #:use-module (chickadee graphics shader) #:use-module (chickadee graphics sprite) #:use-module (chickadee graphics texture) @@ -109,7 +108,7 @@ display it at POINT-SIZE. By default, the ASCII character is used." (chars (make-hash-table)) (kernings (make-hash-table)) (batches (make-hash-table)) - (texture-size (min (gpu-max-texture-size (current-gpu)) 2048))) + (texture-size (min (graphics-engine-max-texture-size) 2048))) ;; TODO: Use actual screen DPI. (set-char-size! face (* point-size 64) 0 96 96) (let ((glyph (face-glyph-slot face)) |