diff options
author | David Thompson <dthompson2@worcester.edu> | 2015-03-11 22:23:15 -0400 |
---|---|---|
committer | David Thompson <dthompson2@worcester.edu> | 2015-03-11 22:27:25 -0400 |
commit | 9049e845387b3734f2d1969e89fbb3283a584ec4 (patch) | |
tree | df493c0a1af4c4eef2b807f22b33a5d57e922c2a /tests/math | |
parent | 8cb85c6c2cb7ec7cb2621cd6871b3b29711cff99 (diff) |
render: context: Use GL parameters.
* sly/render/context.scm (%set-render-context-blend-mode!,
%set-render-context-depth-test!?, %set-render-context-texture!,
%set-render-context-shader!, %set-render-context-mesh!): Delete.
(make-render-context): Create GL parameters.
(render-context-reset!): Reset GL parameters.
(define-context-setter): New syntax.
(set-render-context-blend-mode!, set-render-context-depth-test!?,
set-render-context-texture!, set-render-context-shader!,
set-render-context-mesh!): Define in terms of 'define-context-setter'.
Diffstat (limited to 'tests/math')
0 files changed, 0 insertions, 0 deletions