summaryrefslogtreecommitdiff
path: root/dom/canvas/WebGLContextDraw.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'dom/canvas/WebGLContextDraw.cpp')
-rw-r--r--dom/canvas/WebGLContextDraw.cpp7
1 files changed, 0 insertions, 7 deletions
diff --git a/dom/canvas/WebGLContextDraw.cpp b/dom/canvas/WebGLContextDraw.cpp
index fd9ee49579..8e437a07f3 100644
--- a/dom/canvas/WebGLContextDraw.cpp
+++ b/dom/canvas/WebGLContextDraw.cpp
@@ -1045,13 +1045,6 @@ WebGLContext::WhatDoesVertexAttrib0Need() const
const auto& isAttribArray0Enabled = mBoundVertexArray->mAttribs[0].mEnabled;
bool legacyAttrib0 = gl->IsCompatibilityProfile();
-#ifdef XP_MACOSX
- if (gl->WorkAroundDriverBugs()) {
- // Failures in conformance/attribs/gl-disabled-vertex-attrib.
- // Even in Core profiles on NV. Sigh.
- legacyAttrib0 |= (gl->Vendor() == gl::GLVendor::NVIDIA);
- }
-#endif
if (!legacyAttrib0)
return WebGLVertexAttrib0Status::Default;