author | Jamie Nicol <jnicol@mozilla.com> |
Wed, 14 Mar 2018 16:42:37 +0000 | |
changeset 413890 | ebb9f83337a22ae8e77c3e7129f65178f1bedec5 |
parent 413889 | d8986aead3e05be3a7f15252c098e7da173c42aa |
child 413891 | 208bfd37417ee5ad04d5819029697db901f7a468 |
push id | 62725 |
push user | jnicol@mozilla.com |
push date | Mon, 16 Apr 2018 17:41:28 +0000 |
treeherder | autoland@ebb9f83337a2 [default view] [failures only] |
perfherder | [talos] [build metrics] [platform microbench] (compared to previous push) |
reviewers | jrmuizel |
bugs | 1443149 |
milestone | 61.0a1 |
first release with | nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
|
last release without | nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
|
--- a/dom/canvas/WebGLContextFramebufferOperations.cpp +++ b/dom/canvas/WebGLContextFramebufferOperations.cpp @@ -28,17 +28,17 @@ WebGLContext::Clear(GLbitfield mask) GenerateWarning("Calling gl.clear(0) has no effect."); } else if (mRasterizerDiscardEnabled) { GenerateWarning("Calling gl.clear() with RASTERIZER_DISCARD enabled has no effects."); } if (mask & LOCAL_GL_COLOR_BUFFER_BIT && mBoundDrawFramebuffer) { if (mask & LOCAL_GL_COLOR_BUFFER_BIT) { for (const auto& cur : mBoundDrawFramebuffer->ColorDrawBuffers()) { - if (!cur->IsDefined()) + if (!cur->HasImage()) continue; switch (cur->Format()->format->componentType) { case webgl::ComponentType::Float: case webgl::ComponentType::NormInt: case webgl::ComponentType::NormUInt: break;