-
eric@webkit.org authored
Reviewed by Oliver Hunt. Off-by-one error in index validation for drawElements and drawArrays https://bugs.webkit.org/show_bug.cgi?id=31891 Fixed computation of number of elements for bound array objects. Test: fast/canvas/webgl/index-validation.html * fast/canvas/webgl/index-validation-expected.txt: Added. * fast/canvas/webgl/index-validation.html: Added. * fast/canvas/webgl/script-tests/index-validation.js: Added. 2009-11-25 Kenneth Russell <kbr@google.com> Reviewed by Oliver Hunt. Off-by-one error in index validation for drawElements and drawArrays https://bugs.webkit.org/show_bug.cgi?id=31891 Fixed computation of number of elements for bound array objects. Test: fast/canvas/webgl/index-validation.html * html/canvas/WebGLRenderingContext.cpp: (WebCore::WebGLRenderingContext::vertexAttribPointer): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@51400 268f45cc-cd09-0410-ab3c-d52691b4dbfc
48889733