diff options
author | wolfbeast <mcwerewolf@wolfbeast.com> | 2019-10-24 12:17:39 +0200 |
---|---|---|
committer | wolfbeast <mcwerewolf@wolfbeast.com> | 2019-10-24 22:42:34 +0200 |
commit | fbb55365326ca10b0f01241ea1e09d50c7cd7e42 (patch) | |
tree | 93d9c1026a18b1f4c385bc94450b396baa29f6a1 /extensions/cookie | |
parent | 28238d1ff5ad0828bd814ecc7d8f081493038fb8 (diff) | |
download | uxp-fbb55365326ca10b0f01241ea1e09d50c7cd7e42.tar.gz |
Add size checks to WebGLContext::BufferData()
On MacOS, particularly large allocations within the platform limits
(1.2G+) will fail and crash. This adds a specific size check for that
when working around driver bugs (default).
While there, added a generic size_t limited size check for the
platform, and reporting OOM if too large.
Diffstat (limited to 'extensions/cookie')
0 files changed, 0 insertions, 0 deletions