summaryrefslogtreecommitdiff
path: root/examples/shapes.scm
diff options
context:
space:
mode:
authorDavid Thompson <dthompson2@worcester.edu>2015-09-09 08:51:56 -0400
committerDavid Thompson <dthompson2@worcester.edu>2015-09-09 08:59:43 -0400
commit7ef2178ca853cde6fb376a9d35cadcaac402ba99 (patch)
treeb3aaa7286553c03264666e947d8b04922d73ec90 /examples/shapes.scm
parentf8b48b550d5f167483a545f207ae053d8fa9d5dd (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 'examples/shapes.scm')
0 files changed, 0 insertions, 0 deletions