summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorDavid Thompson <dthompson2@worcester.edu>2014-03-29 16:19:01 -0400
committerDavid Thompson <dthompson2@worcester.edu>2014-03-29 16:19:01 -0400
commitbd4e7ca64ed3d203ab7c938387d7ab32df8e5f23 (patch)
tree5e108c1b175e87af9e820541af23501f17bc5816 /examples
parent40bacd7e2ba29a1813a8fcd8070cf9ea4a9abca8 (diff)
Don't load font shaders upon importing (2d font) module.
* 2d/font.scm (font-shader): Set to #f initially. (enable-fonts): New procedure. * examples/font.scm: Enable fonts.
Diffstat (limited to 'examples')
-rw-r--r--examples/font.scm2
1 files changed, 2 insertions, 0 deletions
diff --git a/examples/font.scm b/examples/font.scm
index a5167fa..a48bc37 100644
--- a/examples/font.scm
+++ b/examples/font.scm
@@ -27,6 +27,8 @@
(load "common.scm")
+(enable-fonts)
+
(define font (load-default-font 18))
(define label
(make-label font "The quick brown fox jumped over the lazy dog."