Check for OES_mapbuffer in Buffer::unmap
authorMikko Rasa <tdb@tdb.fi>
Wed, 25 Apr 2018 11:53:33 +0000 (14:53 +0300)
committerMikko Rasa <tdb@tdb.fi>
Wed, 25 Apr 2018 11:53:33 +0000 (14:53 +0300)
commitbb162b9edd4b8c0e9faeed75da4148f5b9735450
treeef014c34cf16fb6cbcded082e02ec41af292d6c5
parent53953f28255e782ed640a9e8d2d42c9b218943ad
Check for OES_mapbuffer in Buffer::unmap

It might have been mapped through ARB_map_buffer_range, in which case
OES_mapbuffer didn't get initialized in Buffer::map.
source/buffer.cpp