Skip to content
Snippets Groups Projects
Commit a1958d2b authored by Jeff Baumes's avatar Jeff Baumes
Browse files

Fixing array bounds issue

When alpha is zero, the array is indexed past the end.
This junk data is then multiplied by zero so it had
the correct behavior on most platforms, but for some
(e.g. Visual Studio) there is runtime bounds checking
and the program would error. So check for this case
to avoid going past the end of the array

Change-Id: I0d1c8bf94a65983fd8303ffbb7e1c75ca778f614
parent 723784aa
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment