Skip to content

Commit fd258e0

Browse files
Jura-Zmarco trivellato
authored andcommitted
GL_ACTIVE_UNIFORM_BLOCK_MAX_NAME_LENGTH and webgl2_ubos test fixed
1 parent 82c0cbb commit fd258e0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/library_gl.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3508,7 +3508,7 @@ var LibraryGL = {
35083508
ptable.maxUniformBlockNameLength = 0;
35093509
for (var i = 0; i < numBlocks; ++i) {
35103510
var activeBlockName = GLctx.getActiveUniformBlockName(program, i);
3511-
ptable.maxUniformBlockNameLength = Math.max(ptable.maxAttributeLength, activeBlockName.length+1);
3511+
ptable.maxUniformBlockNameLength = Math.max(ptable.maxUniformBlockNameLength, activeBlockName.length+1);
35123512
}
35133513
}
35143514
{{{ makeSetValue('p', '0', 'ptable.maxUniformBlockNameLength', 'i32') }}};

0 commit comments

Comments
 (0)