Closed
Bug 1237637
Opened 9 years ago
Closed 9 years ago
Give an error on negative texture levels
Categories
(Core :: Graphics: CanvasWebGL, defect)
Core
Graphics: CanvasWebGL
Tracking
()
RESOLVED
FIXED
mozilla46
Tracking | Status | |
---|---|---|
firefox46 | --- | fixed |
People
(Reporter: jrmuizel, Assigned: jgilbert)
Details
Attachments
(1 file, 1 obsolete file)
900 bytes,
patch
|
jrmuizel
:
review+
|
Details | Diff | Splinter Review |
No description provided.
Reporter | ||
Updated•9 years ago
|
Attachment #8705165 -
Attachment is patch: true
Reporter | ||
Updated•9 years ago
|
Attachment #8705165 -
Flags: review?(jgilbert)
Assignee | ||
Comment 2•9 years ago
|
||
Comment on attachment 8705165 [details] [diff] [review]
Give an error on negative texture levels
Review of attachment 8705165 [details] [diff] [review]:
-----------------------------------------------------------------
::: dom/canvas/WebGLFramebuffer.cpp
@@ +620,5 @@
> }
> }
>
> + // We could only check this if (tex), but let's be conservative
> + if (level < 0) {
This is fine, but I think this check should go near the level != 0 check.
Attachment #8705165 -
Flags: review?(jgilbert) → review+
Reporter | ||
Updated•9 years ago
|
Attachment #8705406 -
Flags: review?(jmuizelaar) → review+
Assignee | ||
Updated•9 years ago
|
Assignee: nobody → jgilbert
Assignee | ||
Updated•9 years ago
|
Attachment #8705165 -
Attachment is obsolete: true
Comment 4•9 years ago
|
||
bugherder |
Status: NEW → RESOLVED
Closed: 9 years ago
status-firefox46:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla46
You need to log in
before you can comment on or make changes to this bug.
Description
•