mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-08-15 08:53:07 +09:00
Fix Mesa check + whitespace
This commit is contained in:
parent
168e8bebd0
commit
15065117ff
1 changed files with 1 additions and 1 deletions
|
|
@ -1066,7 +1066,7 @@ WebGLContext::DoFakeVertexAttrib0(const char* funcName, GLuint vertexCount)
|
|||
vertexCount = 1;
|
||||
}
|
||||
|
||||
if (gl->WorkAroundDriverBugs() && gl->IsMesa()) {
|
||||
if (gl->WorkAroundDriverBugs() && gl->Vendor() == gl::GLVendor::Nouveau) {
|
||||
// Padded/strided to vec4, so 4x4bytes.
|
||||
const auto effectiveVertAttribBytes = CheckedInt<int32_t>(vertexCount) * 4 * 4;
|
||||
if (!effectiveVertAttribBytes.isValid()) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue