diff options
author | David Thompson <dthompson2@worcester.edu> | 2015-09-09 08:51:56 -0400 |
---|---|---|
committer | David Thompson <dthompson2@worcester.edu> | 2015-09-09 08:59:43 -0400 |
commit | 7ef2178ca853cde6fb376a9d35cadcaac402ba99 (patch) | |
tree | b3aaa7286553c03264666e947d8b04922d73ec90 /2d/rect.scm | |
parent | f8b48b550d5f167483a545f207ae053d8fa9d5dd (diff) |
render: Reset OpenGL state after drawing a frame.
Not resetting the graphics context after rendering leads to strange bugs
such as sprites disappearing when a new mesh is created in between
drawing.
* sly/render.scm (with-graphics): Reset context after drawing.
Diffstat (limited to '2d/rect.scm')
0 files changed, 0 insertions, 0 deletions