]> git.tdb.fi Git - libs/gl.git/commit
Track allocation status of Buffer
authorMikko Rasa <tdb@tdb.fi>
Mon, 29 Mar 2021 22:34:08 +0000 (01:34 +0300)
committerMikko Rasa <tdb@tdb.fi>
Mon, 29 Mar 2021 22:34:08 +0000 (01:34 +0300)
commita061bbfa87391ddea42c6220c1e17054d5b6b0c8
tree8a542d53ab17e9b5545e2c34aed7f28513bb448a
parent6dc5c41fe93ed0cb4f9051387b5551182bc5df41
Track allocation status of Buffer

If ABR_buffer_storage is not supported, calling storage() and then
sub_data() did not result in the buffer being allocated.
source/core/buffer.cpp
source/core/buffer.h