summaryrefslogtreecommitdiff
path: root/2d/font.scm
diff options
context:
space:
mode:
Diffstat (limited to '2d/font.scm')
-rw-r--r--2d/font.scm12
1 files changed, 5 insertions, 7 deletions
diff --git a/2d/font.scm b/2d/font.scm
index 0917e66..3f4674f 100644
--- a/2d/font.scm
+++ b/2d/font.scm
@@ -59,13 +59,11 @@
(define (enable-fonts)
(SDL:ttf-init)
(set! font-shader
- (make-shader-program
- (load-vertex-shader
- (string-append %pkgdatadir
- "/shaders/font-vertex.glsl"))
- (load-fragment-shader
- (string-append %pkgdatadir
- "/shaders/font-fragment.glsl")))))
+ (load-shader-program
+ (string-append %pkgdatadir
+ "/shaders/font-vertex.glsl")
+ (string-append %pkgdatadir
+ "/shaders/font-fragment.glsl"))))
(define-record-type <font>
(make-font ttf point-size)