Closed Bug 1215414 Opened 4 years ago Closed 4 years ago

WebGL 2 - ClearBuffer fails with TypedArray

Categories

(Core :: Canvas: WebGL, defect)

defect
Not set

Tracking

()

RESOLVED FIXED
mozilla44
Tracking Status
firefox44 --- fixed

People

(Reporter: kamidphish, Assigned: kamidphish)

Details

(Whiteboard: [gfx-noted])

Attachments

(1 file)

ClearBufferiv, ClearBufferuiv, ClearBufferfv don't seem to work.
Need to call ComputeLengthAndData() on TypeArrays before accessing values.
Attachment #8674706 - Flags: review?(jgilbert)
Comment on attachment 8674706 [details] [diff] [review]
Fix ClearBuffer taking TypedArrays.

Review of attachment 8674706 [details] [diff] [review]:
-----------------------------------------------------------------

Sure do.
Attachment #8674706 - Flags: review?(jgilbert) → review+
https://hg.mozilla.org/mozilla-central/rev/731ea686bf3e
Status: NEW → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla44
You need to log in before you can comment on or make changes to this bug.