diff options
author | Moonchild <moonchild@palemoon.org> | 2021-03-10 22:33:51 +0000 |
---|---|---|
committer | Moonchild <moonchild@palemoon.org> | 2021-03-11 06:41:21 +0000 |
commit | c46793881d11dd7af8bb1a11e8341977056448cd (patch) | |
tree | a38500afc01411508ba2cb986f490ca4c8fa9ca1 /dom/canvas/WebGLContextGL.cpp | |
parent | bf9a812c8d5721f73b76f698755a2f60cf58ac0c (diff) | |
download | aura-central-c46793881d11dd7af8bb1a11e8341977056448cd.tar.gz |
Issue mcp-graveyard/UXP%1053 - Remove Android-specific blocks from system headers and /dom
Diffstat (limited to 'dom/canvas/WebGLContextGL.cpp')
-rw-r--r-- | dom/canvas/WebGLContextGL.cpp | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/dom/canvas/WebGLContextGL.cpp b/dom/canvas/WebGLContextGL.cpp index e58fcd0d8..d01a0d44e 100644 --- a/dom/canvas/WebGLContextGL.cpp +++ b/dom/canvas/WebGLContextGL.cpp @@ -145,9 +145,6 @@ WebGLContext::BindFramebuffer(GLenum target, WebGLFramebuffer* wfb) } else { GLuint framebuffername = wfb->mGLName; gl->fBindFramebuffer(target, framebuffername); -#ifdef ANDROID - wfb->mIsFB = true; -#endif } switch (target) { @@ -982,14 +979,6 @@ WebGLContext::IsFramebuffer(const WebGLFramebuffer* fb) if (!ValidateIsObject("isFramebuffer", fb)) return false; -#ifdef ANDROID - if (gl->WorkAroundDriverBugs() && - gl->Renderer() == GLRenderer::AndroidEmulator) - { - return fb->mIsFB; - } -#endif - MakeContextCurrent(); return gl->fIsFramebuffer(fb->mGLName); } |