Bug 1041250 - Make texParameterf and texParameteri functions take enums for all params, r=jsantell

This commit is contained in:
Victor Porof 2014-07-22 12:43:23 -04:00
parent 0745835d2e
commit 63821f1cb8

View File

@ -634,7 +634,7 @@ CallWatcherFront.ENUM_METHODS[CallWatcherFront.CANVAS_WEBGL_CONTEXT] = {
stencilOpSeparate: [0, 1, 2, 3],
texImage2D: (args) => args.length > 6 ? [0, 2, 6, 7] : [0, 2, 3, 4],
texParameterf: [0, 1],
texParameteri: [0, 1],
texParameteri: [0, 1, 2],
texSubImage2D: (args) => args.length === 9 ? [0, 6, 7] : [0, 4, 5],
vertexAttribPointer: [2]
};