diff options
author | David Thompson <dthompson2@worcester.edu> | 2014-10-19 21:22:42 -0400 |
---|---|---|
committer | David Thompson <dthompson2@worcester.edu> | 2014-10-19 21:22:42 -0400 |
commit | c9445d4215756c279881217b43d0479c38deb8d6 (patch) | |
tree | faf845cbbe24118f7942a7f8df9306b6f1167b10 /env.in | |
parent | 2a2e64267e267be33cc18bcc5146f8cd77622af3 (diff) |
gl: Properly undo state change caused by with-gl-bind-texture.
* sly/wrappers/gl.scm (gl-current-texture): New procedure.
(with-gl-bind-texture): Don't bind texture if already bound. Restore
the previously bound texture after evaluating the body.
Diffstat (limited to 'env.in')
0 files changed, 0 insertions, 0 deletions