summaryrefslogtreecommitdiff
path: root/data/shaders/default-fragment.glsl
diff options
context:
space:
mode:
authorDavid Thompson <dthompson2@worcester.edu>2014-11-07 09:30:27 -0500
committerDavid Thompson <dthompson2@worcester.edu>2014-11-07 09:30:27 -0500
commite192265fd0d4873cfd852748cc0f1fb38374288d (patch)
tree373121b6494650f5fea1fc9bc871170201f360a6 /data/shaders/default-fragment.glsl
parent31aeaff69902b0b09a38019549c399043387fc39 (diff)
render: Add rendering context record type.
* sly/render/context.scm: New file. * Makefile.am (SOURCES): Add it. * sly/render/renderer.scm (with-texture-maybe): Delete. (apply-render-op): Use render context. (<renderer>) [context]: New field. (%make-renderer): New syntax. (make-renderer): Was syntax, now a procedure. (render): Use render context. * sly/render/vertex-array.scm (apply-vertex-array): New procedure. (with-vertex-array): Use it. * sly/shader.scm (apply-shader-program): New procedure. (with-shader-program): Use it. * sly/texture.scm (apply-texture): New procedure. (with-texture): Use it.
Diffstat (limited to 'data/shaders/default-fragment.glsl')
0 files changed, 0 insertions, 0 deletions