RESOLVED FIXED 54017
drawElements should check if a buffer is bound to ELEMENT_ARRAY_BUFFER
https://bugs.webkit.org/show_bug.cgi?id=54017
Summary drawElements should check if a buffer is bound to ELEMENT_ARRAY_BUFFER
Zhenyao Mo
Reported 2011-02-08 09:54:02 PST
WebGL spec says: " If count is greater than zero, then a non-null WebGLBuffer must be bound to the ELEMENT_ARRAY_BUFFER binding point or an INVALID_OPERATION error will be generated." We should avoid sending down the call to underlying GL if no buffer is bound to the ELEMENT_ARRAY_BUFFER.
Attachments
Patch (3.65 KB, patch)
2011-02-08 10:24 PST, Zhenyao Mo
kbr: review+
Zhenyao Mo
Comment 1 2011-02-08 10:24:37 PST
Kenneth Russell
Comment 2 2011-02-08 10:28:36 PST
Comment on attachment 81658 [details] Patch Looks good.
Zhenyao Mo
Comment 3 2011-02-08 10:50:44 PST
WebKit Review Bot
Comment 4 2011-02-08 11:34:50 PST
http://trac.webkit.org/changeset/77956 might have broken Qt Linux Release The following tests are not passing: http/tests/websocket/tests/workers/close-in-onmessage-crash.html
Note You need to log in before you can comment on or make changes to this bug.