Bug 1467406 - Remove broken default-fb invalidation path. r=lsalzman
authorJeff Gilbert <jgilbert@mozilla.com>
Tue, 27 Nov 2018 15:49:21 +0000
changeset 507589 eb787b74bd04005a9d4bcc3099d2201461c3b0ff
parent 507588 a729f76f6aae57fa433467f1ce9d58b472fa75ae
child 507590 f5bf87ab64481b0121a4564f5aadf3a4c5a4d962
push id1905
push userffxbld-merge
push dateMon, 21 Jan 2019 12:33:13 +0000
treeherdermozilla-release@c2fca1944d8c [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewerslsalzman
bugs1467406
milestone65.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
Bug 1467406 - Remove broken default-fb invalidation path. r=lsalzman Differential Revision: https://phabricator.services.mozilla.com/D13047
dom/canvas/WebGL2ContextFramebuffers.cpp
--- a/dom/canvas/WebGL2ContextFramebuffers.cpp
+++ b/dom/canvas/WebGL2ContextFramebuffers.cpp
@@ -234,20 +234,16 @@ WebGLContext::ValidateInvalidateFramebuf
             }
             *out_glNumAttachments = scopedVector->size();
             *out_glAttachments = scopedVector->data();
         }
     }
 
     ////
 
-    if (!fb) {
-        mDefaultFB_IsInvalid = true;
-        mResolvedDefaultFB = nullptr;
-    }
     return true;
 }
 
 void
 WebGL2Context::InvalidateFramebuffer(GLenum target,
                                      const dom::Sequence<GLenum>& attachments,
                                      ErrorResult& rv)
 {