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 <firstname.lastname@example.org>
Reviewed-by: Shannon Woods <email@example.com>
Reviewed-by: Geoff Lang <firstname.lastname@example.org>
Reviewed-by: Nicolas Capens <email@example.com>
1 file changed