Closed Bug 1236091 Opened 9 years ago Closed 9 years ago

Null check in BlitFramebuffer

Categories

(Core :: Graphics: CanvasWebGL, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla46
Tracking Status
firefox46 --- fixed

People

(Reporter: jrmuizel, Assigned: jrmuizel)

References

Details

Attachments

(1 file)

We trigger this during deqp/functional/gles3/framebufferblit.html
Attachment #8703200 - Attachment is patch: true
Attachment #8703200 - Attachment mime type: text/x-patch → text/plain
Attachment #8703200 - Flags: review?(jgilbert)
Blocks: webgl2
Comment on attachment 8703200 [details] [diff] [review] Null check in BlitFramebuffer Review of attachment 8703200 [details] [diff] [review]: ----------------------------------------------------------------- ::: dom/canvas/WebGL2ContextFramebuffers.cpp @@ +118,5 @@ > return; > } > > + if (mBoundReadFramebuffer && !mBoundReadFramebuffer->ValidateAndInitAttachments("blitFramebuffer's READ_FRAMEBUFFER") || > + mBoundDrawFramebuffer && !mBoundDrawFramebuffer->ValidateAndInitAttachments("blitFramebuffer's DRAW_FRAMEBUFFER")) Should really just move these down into their respective branches below.
Attachment #8703200 - Flags: review?(jgilbert) → review+
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla46
Assignee: nobody → jmuizelaar
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: