Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use updateData instead of re-creating buffers for repopulated paint a…
…rrays. Fixes issue #6839 (memory leak on frequent calls to setFeatureState). The leak was caused by mismatched calls to "createVertexBuffer" and "destroy". Improves performance of PaintStates benchmark. The performance improvement is presumably because we're able to take advantage of the DYNAMIC_DRAW option intended for frequently updated buffers.
- Loading branch information