Fix buffer overflow error on buffer resize.
We were using the new, larger size for our buffer data copy step,
instead of the old, smaller size. This bug was causing a crash on
older nVidia drivers during normal browser usage.
Reproducible with the index-validation-large-buffer WebGL test.
Tested-by: Jamie Madill <email@example.com>
Reviewed-by: Shannon Woods <firstname.lastname@example.org>
Reviewed-by: Geoff Lang <email@example.com>
Reviewed-by: Nicolas Capens <firstname.lastname@example.org>
1 file changed