render: buffer: Allow specifying read/write mode when mapping buffer.
authorDavid Thompson <dthompson2@worcester.edu>
Fri, 10 May 2019 12:29:28 +0000 (08:29 -0400)
committerDavid Thompson <dthompson2@worcester.edu>
Fri, 10 May 2019 12:29:28 +0000 (08:29 -0400)
commitdd1ccc8afc8ec0411ac636f542fd4bb8d4d242af
treee2243d4aa06372c196df5a79cd7aaebc9a6485b0
parent39d610bb7fd573941c3dd362949a7fff02165908
render: buffer: Allow specifying read/write mode when mapping buffer.

* chickadee/render/buffer.scm (map-buffer!): Add optional 'mode' argument.
chickadee/render/buffer.scm