Closed Bug 1215414 Opened 9 years ago Closed 9 years ago

WebGL 2 - ClearBuffer fails with TypedArray

Categories

(Core :: Graphics: CanvasWebGL, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla44
Tracking Status
firefox44 --- fixed

People

(Reporter: u480271, Assigned: u480271)

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: 9 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla44
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: