render: buffer: Orphan before mapping only when used for streaming.
authorDavid Thompson <dthompson2@worcester.edu>
Thu, 6 Sep 2018 13:25:34 +0000 (09:25 -0400)
committerDavid Thompson <dthompson2@worcester.edu>
Thu, 6 Sep 2018 13:25:34 +0000 (09:25 -0400)
commit2162d706d2015b962c7a41a05670a4ea7cd6f0b8
tree5ef6b0416d5c9498e7ef17624691e3f39ac07640
parent02c79cc63c52c310aa1e96c7cac1f881055a2714
render: buffer: Orphan before mapping only when used for streaming.

* chickdaee/render/buffer.scm (map-buffer!): Orphan buffer data only
  when the buffer usage is 'stream'.
chickadee/render/buffer.scm