Closed Bug 1215416 Opened 9 years ago Closed 4 years ago

WebGL 2 - InvalidateFB doesn't check params correctly.

Categories

(Core :: Graphics: CanvasWebGL, defect, P3)

defect

Tracking

()

RESOLVED FIXED

People

(Reporter: u480271, Unassigned)

References

()

Details

(Whiteboard: [gfx-noted])

Attachments

(1 file)

      No description provided.
Attachment #8674715 - Flags: review?(jgilbert)
Comment on attachment 8674715 [details] [diff] [review]
validate params to invalidate{Sub}Framebuffer.

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

::: dom/canvas/WebGLContextValidate.cpp
@@ +378,5 @@
>   * be one of depth/stencil/depth_stencil/color attachment.
>   */
>  bool
>  WebGLContext::ValidateFramebufferAttachment(const WebGLFramebuffer* fb, GLenum attachment,
> +                                            const char* funcName, bool invalidateFB)

`isInvalidateFunc` I think is clearer.
Attachment #8674715 - Flags: review?(jgilbert) → review+
Assignee: dglastonbury → nobody
Status: ASSIGNED → NEW
Status: NEW → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: