summaryrefslogtreecommitdiff
path: root/data/shaders
diff options
context:
space:
mode:
authorDavid Thompson <dthompson2@worcester.edu>2014-10-19 21:22:42 -0400
committerDavid Thompson <dthompson2@worcester.edu>2014-10-19 21:22:42 -0400
commitc9445d4215756c279881217b43d0479c38deb8d6 (patch)
treefaf845cbbe24118f7942a7f8df9306b6f1167b10 /data/shaders
parent2a2e64267e267be33cc18bcc5146f8cd77622af3 (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 'data/shaders')
0 files changed, 0 insertions, 0 deletions