Bug 1467406 - Remove broken default-fb invalidation path. r=lsalzman a=lizzard
authorJeff Gilbert <jgilbert@mozilla.com>
Tue, 27 Nov 2018 15:49:21 +0000
changeset 501430 f4fe9800063b5110cb59f2eafdc1ffc45feb5a60
parent 501429 3be25c15b7e9e3326826739bdc4f24ba94e8578b
child 501431 f744e835c8bf344bcd6f64b4b894a0a4d64a1c1c
push id1864
push userffxbld-merge
push dateMon, 03 Dec 2018 15:51:40 +0000
treeherdermozilla-release@f040763d99ad [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewerslsalzman, lizzard
bugs1467406
milestone64.0
Bug 1467406 - Remove broken default-fb invalidation path. r=lsalzman a=lizzard 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)
 {