From bd4e7ca64ed3d203ab7c938387d7ab32df8e5f23 Mon Sep 17 00:00:00 2001 From: David Thompson Date: Sat, 29 Mar 2014 16:19:01 -0400 Subject: 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. --- examples/font.scm | 2 ++ 1 file changed, 2 insertions(+) (limited to 'examples') 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." -- cgit v1.2.3