summaryrefslogtreecommitdiffstats
path: root/widget/MiscEvents.h
diff options
context:
space:
mode:
authorwolfbeast <mcwerewolf@wolfbeast.com>2019-10-24 12:17:39 +0200
committerwolfbeast <mcwerewolf@wolfbeast.com>2019-10-24 12:17:39 +0200
commitf1308011aef318f40d05d93353db17d059db83a0 (patch)
tree7ea388ba9c73aae1aabf9766e0b9d42815a5a846 /widget/MiscEvents.h
parente8c5582bec49058508b2de9f2f292f3a25e5278e (diff)
downloadUXP-f1308011aef318f40d05d93353db17d059db83a0.tar
UXP-f1308011aef318f40d05d93353db17d059db83a0.tar.gz
UXP-f1308011aef318f40d05d93353db17d059db83a0.tar.lz
UXP-f1308011aef318f40d05d93353db17d059db83a0.tar.xz
UXP-f1308011aef318f40d05d93353db17d059db83a0.zip
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 'widget/MiscEvents.h')
0 files changed, 0 insertions, 0 deletions