Closed Bug 578769 Opened 14 years ago Closed 14 years ago

handling of count==0 in drawArrays and drawElements

Categories

(Core :: Graphics: CanvasWebGL, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED

People

(Reporter: bjacob, Assigned: bjacob)

Details

Attachments

(1 file)

Of course it's a no-op, but if we want to pass the current conformance test, we should still check that 'first' is in range and generate GL errors if it's not.

(And I agree with what the conformance test is currently requiring, and for current lack of details in the spec, the test is all we have).

draw-arrays-out-of-bounds.html
draw-elements-out-of-bounds.html
Attachment #457370 - Flags: review?(vladimir)
Attachment #457370 - Attachment mime type: application/octet-stream → text/plain
Attachment #457370 - Attachment is patch: true
Attachment #457370 - Flags: review?(vladimir) → review+
http://hg.mozilla.org/mozilla-central/rev/a4c91b594030
Status: NEW → RESOLVED
Closed: 14 years ago
Resolution: --- → FIXED
Assignee: nobody → bjacob
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: