Closed Bug 615314 Opened 9 years ago Closed 9 years ago

be silent on uninitialized textures

Categories

(Core :: Canvas: WebGL, defect)

defect
Not set

Tracking

()

RESOLVED FIXED

People

(Reporter: bjacob, Assigned: bjacob)

Details

Attachments

(1 file)

We currently generate JS warnings when rendering with "fake black" textures, and special-case uninitialized textures (i.e. textures where texImage2D has not yet been called).

However, that latter case of uninitialized textures is very common and legitimate (asynchronous texture loading). So that warning is just noise in most cases.

This patch removes it.
Attachment #493769 - Flags: review?(vladimir)
Attachment #493769 - Flags: approval2.0+
http://hg.mozilla.org/mozilla-central/rev/b308f615ba23
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
Assignee: nobody → bjacob
You need to log in before you can comment on or make changes to this bug.