Closed
Bug 566688
Opened 14 years ago
Closed 14 years ago
WebGLBuffer bound to a target can be bound to another target in its lifetime
Categories
(Core :: Graphics: CanvasWebGL, defect)
Tracking
()
RESOLVED
FIXED
People
(Reporter: cedricv, Unassigned)
References
Details
Attachments
(1 obsolete file)
WebGL spec states at 5.14.5 : """ void bindBuffer(GLenum target, WebGLBuffer buffer) Binds the given WebGLBuffer object to the given binding point (target), either ARRAY_BUFFER or ELEMENT_ARRAY_BUFFER. If the buffer is null then any buffer currently bound to this target is unbound. A given WebGLBuffer object may only be bound to one of the ARRAY_BUFFER or ELEMENT_ARRAY_BUFFER target in its lifetime. An attempt to bind a buffer object to the other target will generate an INVALID_OPERATION error, and the current binding will remain untouched. """ Currently the same buffer can be bound to both targets without error.
Reporter | ||
Comment 1•14 years ago
|
||
Make all tests of buffer-bind-test.html PASS.
Attachment #446033 -
Flags: review?(vladimir)
Reporter | ||
Comment 2•14 years ago
|
||
Comment on attachment 446033 [details] [diff] [review] Fix Ooops, okay this is crap... but the good thing is that it shows buffer-bind-tests should be greatly improved to check that the binding (or unbinding if null buffer) has been done correctly.
Attachment #446033 -
Attachment is obsolete: true
Attachment #446033 -
Flags: review?(vladimir)
Benoit is working on fixing this in bug 567565.
Depends on: 567565
Comment 4•14 years ago
|
||
This has been fixed.
Status: NEW → RESOLVED
Closed: 14 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•