mirror of https://github.com/axmolengine/axmol.git
05873ad7a0
Compiling on linux causes the error "array subscript is above array bounds [-Werror=array-bounds]". This commit adds boundary checking using the constant defining the maximum number of items in the "nuke" array. Signed-off-by: Roger Zanoni <roger.zanoni@openbossa.org> |
||
---|---|---|
.. | ||
Tests | ||
Box2dView.cpp | ||
Box2dView.h | ||
GLES-Render.cpp | ||
GLES-Render.h | ||
Test.cpp | ||
Test.h | ||
TestEntries.cpp |