diff options
author | David Thompson <dthompson2@worcester.edu> | 2014-08-16 22:08:13 -0400 |
---|---|---|
committer | David Thompson <dthompson2@worcester.edu> | 2014-08-25 19:33:07 -0400 |
commit | 39fdda4aaba16990ac271b880059ebeb0d747b43 (patch) | |
tree | 5190bd82d764237dc6371c41cec469550dccd237 /examples | |
parent | 2f27f5c49a61d0d891b2d2f045915a89365762ae (diff) |
Use a single default shader for all meshes.
* data/shaders/default-fragment.glsl: New file.
* data/shaders/default-vertex.glsl: New file.
* data/shaders/font-fragment.glsl: Delete.
* data/shaders/font-vertex.glsl: Delete.
* data/shaders/sprite-fragment.glsl: Delete.
* data/shaders/sprite-vertex.glsl: Delete.
* examples/common.scm: Remove call to enable-sprites.
* sly/font.scm (font-shader): Delete.
(enable-fonts): Remove shader loading.
(make-label): Use default shader.
* sly/shape.scm (make-cube): Make texture and shader optional keyword
arguments.
* sly/sprite.scm (sprite-shader, enable-sprites): Delete.
(make-sprite): Make shader an optional keyword argument.
Diffstat (limited to 'examples')
-rw-r--r-- | examples/common.scm | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/examples/common.scm b/examples/common.scm index 03a0a28..07e7aae 100644 --- a/examples/common.scm +++ b/examples/common.scm @@ -25,7 +25,6 @@ (sly window)) (open-window) -(enable-sprites) (add-hook! key-press-hook (lambda (key unicode) (when (eq? key 'escape) |