Jamie Nicol d27a81657e Bug 1443149 - Ensure WebGLFBAttachPoint::HasImage() before dereferencing Format(). r=jrmuizel
Previously we were checking IsDefined() rather than HasImage(), but
were hitting crashes. This was because Format() can return null if the
attach point is defined but the attached texture level or renderbuffer
aren't themselves defined. HasImage() checks for this case.

MozReview-Commit-ID: 8KY3zPXXAFv

--HG--
extra : rebase_source : 50706ae0903e15e8b299e7417e7e5d829b11aa79
2018-03-14 16:42:37 +00:00
..