mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-07 16:28:38 +09:00
parent
470a6e4401
commit
13fcc4a046
949 changed files with 95662 additions and 444 deletions
|
|
@ -1045,6 +1045,13 @@ 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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue