Summary: | Vertex attributes enabled as arrays but not bound to buffers must generate INVALID_OPERATION | ||||||
---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | Kenneth Russell <kbr> | ||||
Component: | WebGL | Assignee: | Zhenyao Mo <zmo> | ||||
Status: | RESOLVED FIXED | ||||||
Severity: | Normal | CC: | cmarrin, commit-queue, dglazkov, oliver, zmo | ||||
Priority: | P2 | ||||||
Version: | 528+ (Nightly build) | ||||||
Hardware: | All | ||||||
OS: | All | ||||||
Attachments: |
|
Description
Kenneth Russell
2010-06-08 11:47:40 PDT
Created attachment 58386 [details]
patch
Comment on attachment 58386 [details]
patch
Looks good.
Comment on attachment 58386 [details]
patch
ok, with a clean-up suggestion:
WebCore/html/canvas/WebGLRenderingContext.cpp:2936
+ m_vertexAttribState[indx].bufferBinding = m_boundArrayBuffer;
Typically, we try not to abbreviate names.
Comment on attachment 58386 [details] patch Clearing flags on attachment: 58386 Committed r61006: <http://trac.webkit.org/changeset/61006> All reviewed patches have been landed. Closing bug. |